Uses of Class
de.labathome.trustconstr.ScalarFunction.ScalarFunctionFactory
Packages that use ScalarFunction.ScalarFunctionFactory
-
Uses of ScalarFunction.ScalarFunctionFactory in de.labathome.trustconstr
Fields in de.labathome.trustconstr declared as ScalarFunction.ScalarFunctionFactoryModifier and TypeFieldDescriptionstatic final ScalarFunction.ScalarFunctionFactoryScalarFunction.FACTORYDefaultScalarFunction.ScalarFunctionFactory; create one and callbuild().Methods in de.labathome.trustconstr that return ScalarFunction.ScalarFunctionFactoryModifier and TypeMethodDescriptionProvide any additional fixed parameters needed to specify the scalar function (theargsargument forwarded tofun/grad/hess).Absolute step size for FD gradient/Hessian, taking precedence over the relative step.ScalarFunction.ScalarFunctionFactory.finiteDiffBounds(FiniteDifferenceBounds finiteDiffBounds) Bounds within which FD perturbations must stay.ScalarFunction.ScalarFunctionFactory.finiteDiffRelStep(Matrix finiteDiffRelStep) Per-component relative step size for the FD gradient/Hessian.ScalarFunction.ScalarFunctionFactory.fun(ToDoubleBiFunction<Matrix, Object> fun) Set the objective function to optimize.ScalarFunction.ScalarFunctionFactory.grad(FiniteDifferenceMethod grad) Compute the gradient by finite differences instead of analytically.ScalarFunction.ScalarFunctionFactory.grad(BiFunction<Matrix, Object, Matrix> grad) Provide an analytic gradientgrad(x, args) -> gradf(x).ScalarFunction.ScalarFunctionFactory.hess(FiniteDifferenceMethod hess) Compute the Hessian by finite differences instead of analytically.ScalarFunction.ScalarFunctionFactory.hess(HessianUpdateStrategy hess) Approximate the Hessian via a quasi-Newton update strategy (e.g.ScalarFunction.ScalarFunctionFactory.hess(BiFunction<Matrix, Object, Matrix> hess) Provide an analytic Hessianhess(x, args) -> grad^2f(x).Provide the initial point for evaluatingfun.