Computes the least-squares residual Jacobian matrix that has been set with TaoSetJacobianResidual().
PetscErrorCode TaoComputeResidualJacobian(Tao tao, Vec X, Mat J, Mat Jpre)
Collective on Tao
|tao ||- the Tao solver context
|X ||- input vector
|J ||- Jacobian matrix
|Jpre ||- Preconditioning matrix
Most users should not need to explicitly call this routine, as it
is used internally within the minimization solvers.
TaoComputeResidualJacobian() is typically used within least-squares
implementations, so most users would not generally call this routine
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages