PetscHypotReal#
Returns the Euclidean distance sqrt(a*a + b*b) of two PetscReal values, without intermediate overflow
Synopsis#
#include <petscmath.h>
PetscReal PetscHypotReal(PetscReal a, PetscReal b)
Not Collective; No Fortran Support
Input Parameters#
a - the value
b - the value
See Also#
Level#
beginner
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages