Wondering what’s next for npm?Check out our public roadmap! »

    find-extrema
    TypeScript icon, indicating that this package has built-in type declarations

    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

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    16.3 MB

    Total Files

    3866

    Last publish

    Collaborators

    • avatar