genedan / TmVal

Time Value of Money - a Python package for mathematical interest theory, annuity, and bond calculations.
https://genedan.com/tmval/docs
GNU General Public License v3.0
27 stars 4 forks source link

Initialize classes by passing a solver #32

Open genedan opened 4 years ago

genedan commented 4 years ago

Since a solver solves for a missing variable, it should be possible to pass a solver directly to a class (Annuity, Accumulation, etc.) to initialize it without needing to repeat the other arguments.