summaryrefslogtreecommitdiff
path: root/numpy/lib/recfunctions.py
diff options
context:
space:
mode:
authorkai-striega <kaistriega@gmail.com>2019-09-14 13:45:00 +0800
committerkai-striega <kaistriega@gmail.com>2019-09-14 17:14:03 +0800
commit594d0c39bd7baf9575411b4a9689ec0bd564c930 (patch)
treeadd9598f3e66013157b46f8194be34341b5bcebf /numpy/lib/recfunctions.py
parent58dc45505b3d3e2b9de1a6961a749c8bd1165548 (diff)
downloadnumpy-594d0c39bd7baf9575411b4a9689ec0bd564c930.tar.gz
TST: Move NPV-IRR congruence check to tests
The internal rate of return (irr) is defined as the rate of return required for the net present values of a series of cashflows to be zero. i.e the lowest rate of return required for a project to break even. This is currently checked by refering to the example output from the ``irr`` and ``npv`` function documentation. This commit adds a test to confirm the identity holds.
Diffstat (limited to 'numpy/lib/recfunctions.py')
0 files changed, 0 insertions, 0 deletions