Package wsh.opt

Interface ScalarSolver.Function

  • Enclosing class:
    ScalarSolver

    public static interface ScalarSolver.Function
    Implement a function of one variable to be minimized
    • Method Detail

      • function

        double function​(double scalar)
        Return a single value as a function of the argument
        Parameters:
        scalar - Argument to be optimized within a known range.
        Returns:
        value to be minimized