Change time intervals defining interest-rate environment

`[`

change time intervals defining an interest-rate environment where interval points
are input as times in periodic units. `Rates`

,`EndTimes`

,`StartTimes`

] = ratetimes(`Compounding`

,`RefRates`

,`RefEndTimes`

,`RefStartTimes`

,`EndTimes`

,`StartTimes`

)

`ratetimes`

takes an interest-rate environment defined by yields
over one collection of time intervals and computes the yields over another set of
time intervals. The zero rate is assumed to be piecewise linear in time.

`[`

change time intervals defining an interest-rate environment where
`Rates`

,`EndTimes`

,`StartTimes`

] = ratetimes(`Compounding`

,`RefRates`

,`RefEndTimes`

,`RefStartTimes`

,`EndTimes`

,`StartTimes`

,`ValuationDate`

)`ValuationDate`

is passed and interval points are input as
dates.

Entering `ValuationDate`

invokes the date interpretation;
omitting `ValuationDate`

invokes the default time
interpretations.