TaoGradientNorm#
Compute the norm with respect to the norm the user has set.
Synopsis#
#include "petsctao.h"
PetscErrorCode TaoGradientNorm(Tao tao, Vec gradient, NormType type, PetscReal *gnorm)
Collective
Input Parameters#
tao - the Tao context
gradient - the gradient to be computed
norm - the norm type
Output Parameter#
gnorm - the gradient norm
See Also#
Level#
developer
Location#
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages