| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static double | |
| pack-priv static double | Returns: rate of interest per period or NaN if the solution didn't convergeNumber of compounding periods nper, double Payment pmt, double Present Value pv, double Future value fv, double When payments are due ('begin' (1) or 'end' (0)) type, double Starting guess for solving the rate of interest guess)Compute the rate of interest per period. |
| pack-priv static void | |
| public ValueEval | evaluate(ValueEval[]
the evaluated function arguments. Empty values are represented with
args, int BlankEval or MissingArgEval, never null.row index of the cell containing the formula under evaluation srcRowIndex, int column index of the cell containing the formula under evaluation srcColumnIndex)Implements org.
|
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| Rate | back to summary |
|---|---|
| public Rate() | |
| _g_div_gp | back to summary |
|---|---|
| private static double _g_div_gp(double r, double n, double p, double x, double y, double w) | |
| calculateRate | back to summary |
|---|---|
| pack-priv static double calculateRate(double nper, double pmt, double pv, double fv, double type, double guess) Compute the rate of interest per period. The implementation was ported from the NumPy library, see https://github.com/numpy/numpy-financial/blob/d02edfb65dcdf23bd571c2cded7fcd4a0528c6af/numpy_financial/_financial.py#L602
| |
| checkValue | back to summary |
|---|---|
| pack-priv static void checkValue(double result) throws EvaluationException Excel does not support infinities and NaNs, rather, it gives a #NUM! error in these cases
| |
| evaluate | back to summary |
|---|---|
| public ValueEval evaluate(ValueEval[] args, int srcRowIndex, int srcColumnIndex) Implements org.
| |