25 :
Base((int)A.cols(), (int)A.cols(), (int)A.rows()),
mat(A),
b(
b) {}
40template <
typename _Scalar>
49 const ConstVectorRef &target,
50 const ConstMatrixRef &A,
51 const ConstVectorRef &b)
#define PROXSUITE_NLP_DIM_CHECK(x, nx)
Base definitions for function classes.
#define PROXSUITE_NLP_DYNAMIC_TYPEDEFS(Scalar)
virtual void computeJacobian(const ConstVectorRef &x, MatrixRef Jout) const=0
Twice-differentiable function, with method Jacobian and vector-hessian product evaluation.
Composition of two functions .
Linear function of difference vector on a manifold, of the form .
LinearFunctionDifferenceToPoint(const polymorphic< Manifold > &space, const ConstVectorRef &target, const ConstMatrixRef &A, const ConstVectorRef &b)
VectorXs operator()(const ConstVectorRef &x) const
Evaluate the residual at a given point x.
void computeJacobian(const ConstVectorRef &, MatrixRef Jout) const
Jacobian matrix of the constraint function.
LinearFunctionTpl(const ConstMatrixRef &A, const ConstVectorRef &b)
LinearFunctionTpl(const ConstMatrixRef &A)