slepc-3.22.2 2024-12-02
SlepcAbs
Returns sqrt(x**2+y**2), taking care not to cause unnecessary overflow. It is based on LAPACK's DLAPY2.
Synopsis
static inline PetscReal SlepcAbs(PetscReal x,PetscReal y)
Not Collective
Input parameters
Output parameter
Note
This function is not available from Fortran.
Level
developer
Location
include/slepcmath.h
Index of all sys routines
Table of Contents for all manual pages
Index of all manual pages