Package de.labathome.trustconstr
Class IdentityVectorFunction
java.lang.Object
de.labathome.trustconstr.LinearVectorFunction
de.labathome.trustconstr.IdentityVectorFunction
- All Implemented Interfaces:
VectorFunctionLike
Identity vector function
f(x) = x (Jacobian I). Used by
PreparedConstraint when a
Bounds object is folded into
the constraint set.
Counterpart to scipy's IdentityVectorFunction
(scipy/optimize/_differentiable_functions.py:829).
-
Field Summary
Fields inherited from class de.labathome.trustconstr.LinearVectorFunction
A, f, fUpdated, H, m, n, sparseJacobian, v, x -
Constructor Summary
ConstructorsConstructorDescriptionIdentityVectorFunction(Matrix x0, Optional<Boolean> sparseJacobian) Build an identity vector function sized for the iteratex0. -
Method Summary
Methods inherited from class de.labathome.trustconstr.LinearVectorFunction
f, fun, hess, J, jac, m, n, sparseJacobian, vMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.labathome.trustconstr.interfaces.VectorFunctionLike
numFunctionEvals, numHessianEvals, numJacobianEvals
-
Constructor Details
-
IdentityVectorFunction
Build an identity vector function sized for the iteratex0.- Parameters:
x0- starting iterate (n x 1)sparseJacobian-Optional.of(true)orOptional.empty()storesIsparse;Optional.of(false)stores it dense
-