slepc-3.16.3 2022-04-11
Report Typos and Errors

SlepcAbs

Returns sqrt(x**2+y**2), taking care not to cause unnecessary overflow. It is based on LAPACK's DLAPY2.

Synopsis

PETSC_STATIC_INLINE PetscReal SlepcAbs(PetscReal x,PetscReal y)
Not Collective

Input parameters

x,y  - the real numbers

Output parameter

return  - the result

Note

This function is not available from Fortran.

Location: include/slepcmath.h
Index of all sys routines
Table of Contents for all manual pages
Index of all manual pages