npm

npm’s 2019 JavaScript ecosystem survey analysis is now available!Get your copy here »

find-extrema

1.0.0 • Public • Published

find-extrema Build Status

Numerically compute the extrema of a given (analytic) function: minima, maxima, and points of inflection

npm install find-extrema
import { findExtremum, rootsNewton } from 'find-extrema';
console.log('minimum of (x - 1)^2:', findExtremum(x => (- 1) ** 2, 'minimum', {
  findRoot: f => rootsNewton(f, Math.random())
}));

install

npm i find-extrema

Downloadsweekly downloads

0

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability