UNPKG

node-irr

Version:

A Node.js package that provides an easy and customizable way to calculate internal rate of return.

6 lines (5 loc) 183 B
import { RootFinderOptions, Root } from '../root-finder'; export interface IPolynomial { calculate(x: number): number; findRoot(options?: Partial<RootFinderOptions>): Root; }