The death benefit will be the full sumInsured for the first year after the
deferral period and then decrease linearly to 0 at the end of the policyPeriod.
This can be used with the deathBenefit
parameter for insurance
contracts, but should not be called directly.
deathBenefit.linearDecreasing(len, params, values)
vector of linearly decreasing benefits over the whole insurance coverage period
The desired length of the Cash flow vector (can be shorter than the policyPeriod, if q_x=1 before the end of the contract, e.g. for life-long insurances)
The full parameter set of the insurance contract (including all inherited values from the tariff and the profit participation)
The values calculated from the insurance contract so far