Create a flat yield curve, with rate defined according to the specified day-count convention. Used mostly for unit tests and simple illustrations.
quantlib