Main Index |
TIPS Home |
mbs_cfsbalsgmbs_cfsbalsg (routine)
Mortgage backed security - GPM - generate arrays of cash flows, balances, and principal payments
Introduced in release: 1.0
Component: US MBS
Purpose:
Given the survival factors and the parameters that describe the graduated payment mortgage backed security, the prepayment model, and the pass-thru selections this routine generates the monthly cash flow arrays need to perform MBS calculations.
Results:
The following values for each month are calculated and returned in arrays, with the first element of the array containing the value for the first month:
monthly_cfs : Cash flow array
monthly_bals: Mortgage balance at the beginning of the month array
monthly_prns: Principal payment, including prepayment array
All results are accurate to as many places as supported by a double precision value.
Error Conditions:
Returned values should be ignored for a non-zero status. See Errors.
| Last Mod Date: 08/20/1990 | © 2001 TIPS, Inc. | Doc Version: 5.0 |