TaoGradientNorm#
Compute the norm using the NormType
, the user has selected
Synopsis#
#include "petsctao.h"
PetscErrorCode TaoGradientNorm(Tao tao, Vec gradient, NormType type, PetscReal *gnorm)
Collective
Input Parameters#
tao - the
Tao
contextgradient - the gradient to be computed
type - the norm type
Output Parameter#
gnorm - the gradient norm
See Also#
TAO: Optimization Solvers, Tao
, TaoSetGradientNorm()
, TaoGetGradientNorm()
Level#
advanced
Location#
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages