TmVal
TmVal copied to clipboard
create alternative discount options for npv function
currently only accepts a discount function, although it works if payments already have discount factors provided
but, if payments do not have discount factors attached, then we should be able to supply just an interest rate or accumulation object/function as well