Function finance_math::irr [] [src]

pub fn irr(cfs: &[f64]) -> f64

The internal rate of return (IRR) or external rate of return (ERR) is a method of calculating rate of return. The term internal refers to the fact that its calculation does not incorporate environmental factors (e.g., the interest rate or inflation). see definition: https://en.wikipedia.org/wiki/Internal_rate_of_return