Cosmos Journeyer API Documentation - v1.10.1
    Preparing search index...

    Function findMinimumNewtonRaphson

    • Finds the value that minimizes of the given function using the Newton-Raphson method.

      Parameters

      • f: (x: number) => number

        The function to minimize

      • startingPoint: number

        The starting point for the search

      • maxIterations: number = 100

        The maximum number of iterations to perform for the search

      Returns number

      The value that minimizes the function