node-irr
Version:
A Node.js package that provides an easy and customizable way to calculate internal rate of return.
9 lines (8 loc) • 387 B
TypeScript
import { RootFinderOptions, IRootFinder, Root } from '../definition';
import { Polynomial } from '../../polynomial';
export declare class BisectionRootFinder implements IRootFinder {
protected readonly options: RootFinderOptions;
constructor(options: RootFinderOptions);
protected findUpperLimit(polynomial: Polynomial): number;
findRoot(polynomial: Polynomial): Root;
}