CJPROD − CUTEr tool to form the matrix-vector product of a vector with the Jacobian of the constraints, or its transpose. |
CALL CJPROD( N, M, GOTJ, JTRANS, X, V, LV, R, LR ) |
The CJPROD subroutine forms the product of a vector with the Jacobian matrix, or with its transpose, of the constraint functions of the problem decoded into OUTSDIF.d at the point X. |
The arguments of CPROD are as follows |
N [in] - integer |
the number of variables for the problem, |
M [in] - integer |
the total number of general constraints, |
GOTJ [in] - logical |
a logical variable which specifies whether the first derivatives of the groups and elements have already been set (GOTJ = .TRUE.) or if they should be computed (GOTJ = .FALSE.), |
JTRANS [in] - logical |
a logical variable which specifies whether the product should involve the Jacobian (JTRANS = .FALSE.) or its transpose (JTRANS = .TRUE.), |
X [in] - real/double precision |
when GOTJ = .FALSE., the derivatives will be evaluated at X. Otherwise X is not used, |
V [in] - real/double precision |
the vector for which the product is required, |
LV [in] - integer |
the actual declared dimension of V, |
R [out] - real/double precision |
the result of the matrix-vector product, |
LR [in] - integer |
the actual declared dimension of R. |