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#

Tao, TaoSetGradientNorm(), TaoGetGradientNorm()

Level#

developer

Location#

src/tao/interface/taosolver.c


Edit on GitLab

Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages