numpy.ipmt

numpy.ipmt(rate, per, nper, pv, fv=0.0, when='end')

Not implemented. Compute the payment portion for loan interest.

Parameters:

rate : scalar or array_like of shape(M, )

Rate of interest as decimal (not per cent) per period

per : scalar or array_like of shape(M, )

Interest paid against the loan changes during the life or the loan. The per is the payment period to calculate the interest amount.

nper : scalar or array_like of shape(M, )

Number of compounding periods

pv : scalar or array_like of shape(M, )

Present value

fv : scalar or array_like of shape(M, ), optional

Future value

when : {{‘begin’, 1}, {‘end’, 0}}, {string, int}, optional

When payments are due (‘begin’ (1) or ‘end’ (0)). Defaults to {‘end’, 0}.

Returns:

out : ndarray

Interest portion of payment. If all input is scalar, returns a scalar float. If any input is array_like, returns interest payment for each input element. If multiple inputs are array_like, they all must have the same shape.

See also

ppmt, pmt, pv

Notes

The total payment is made up of payment against principal plus interest.

pmt = ppmt + ipmt

Previous topic

numpy.ppmt

Next topic

numpy.irr

This Page