UNPKG

node-irr-es5

Version:

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

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