TaoADMMSetRegularizerHessianRoutine#
Sets the user-defined regularizer Hessian call-back function, to be used for subsolverZ.
Synopsis#
#include "petsctao.h"
PetscErrorCode TaoADMMSetRegularizerHessianRoutine(Tao tao, Mat H, Mat Hpre, PetscErrorCode (*func)(Tao tao, Vec u, Mat H, Mat Hpre, PetscCtx ctx), PetscCtx ctx)
Collective
Input Parameters#
tao - the
TaocontextH - user-created matrix for the Hessian of the regularization term
Hpre - user-created matrix for building the preconditioner of the Hessian of the regularization term
func - function pointer for the regularizer Hessian evaluation
ctx - application context for the regularizer Hessian
Calling sequence of func#
tao - the
Taocontextu - in current input solution
H - output, the contribution to the Hessian matrix
Hpre - an optional contribution to an alternative matrix with which the preconditioner is to be constructed
ctx - the optional application context
See Also#
Level#
advanced
Location#
Examples#
src/tao/constrained/tutorials/tomographyADMM.c
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages