tmval.Rate.amt_func

Rate.amt_func(k, t)[source]

A Callable intended to be used by the Amount class when the parent Rate object is passed to it. This allows an Amount object to be declared by passing a Rate object to it.

Parameters
  • k (float) – The principal.

  • t (float) – The valuation time, in years.

Returns

The value of k at time t.

Return type

float