Uses of Enum Class
de.labathome.trustconstr.enums.FiniteDifferenceMethod
Packages that use FiniteDifferenceMethod
Package
Description
-
Uses of FiniteDifferenceMethod in de.labathome.trustconstr
Methods in de.labathome.trustconstr with parameters of type FiniteDifferenceMethodModifier and TypeMethodDescriptionstatic AdjustedDifferencingSchemeNumDiff.adjustSchemeToBounds(Matrix x0, Matrix h, int numSteps, FiniteDifferenceMethod scheme, Matrix lb, Matrix ub) Adjust finite-difference step sizes so that the perturbed point stays within[lb, ub]per dimension, flipping direction or switching forward / backward as needed.static MatrixNumDiff.computeAbsoluteStep(Matrix relStep, Matrix x0, Matrix f0, FiniteDifferenceMethod method) Compute the absolute finite-difference step from a relative step.static doubleNumDiff.epsForMethod(Class<?> x0Type, Class<?> f0Type, FiniteDifferenceMethod method) Calculate the relative EPS step for a given data type and FD method.ScalarFunction.ScalarFunctionFactory.grad(FiniteDifferenceMethod grad) Compute the gradient by finite differences instead of analytically.ScalarFunction.ScalarFunctionFactory.hess(FiniteDifferenceMethod hess) Compute the Hessian by finite differences instead of analytically.VectorFunction.VectorFunctionFactory.hess(FiniteDifferenceMethod hess) Compute the Hessian by finite differences instead of analytically.VectorFunction.VectorFunctionFactory.jac(FiniteDifferenceMethod jac) Compute the Jacobian by finite differences instead of analytically.static LinearOperatorNumDiff.linearOperatorDifference(Function<Matrix, Matrix> fun, Matrix x0, Matrix f0, Matrix relStep, FiniteDifferenceMethod method) Build aLinearOperatorthat applies the FD JacobianJ(x0)*pon demand, without materialising the full Jacobian. -
Uses of FiniteDifferenceMethod in de.labathome.trustconstr.enums
Methods in de.labathome.trustconstr.enums that return FiniteDifferenceMethodModifier and TypeMethodDescriptionstatic FiniteDifferenceMethodReturns the enum constant of this class with the specified name.static FiniteDifferenceMethod[]FiniteDifferenceMethod.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of FiniteDifferenceMethod in de.labathome.trustconstr.records
Methods in de.labathome.trustconstr.records that return FiniteDifferenceMethodMethods in de.labathome.trustconstr.records with parameters of type FiniteDifferenceMethodModifier and TypeMethodDescriptionFiniteDifferenceOptions.FiniteDifferenceOptionsFactory.method(FiniteDifferenceMethod method)