PetscIsCloseAtTolScalar#
Like PetscIsCloseAtTol()
but for PetscScalar
Synopsis#
static inline PetscBool PetscIsCloseAtTolScalar(PetscScalar lhs, PetscScalar rhs, PetscReal rtol, PetscReal atol)
Input Parameters#
lhs - The first number
rhs - The second number
rtol - The relative tolerance
atol - The absolute tolerance
Note#
This routine is equivalent to PetscIsCloseAtTol()
when PETSc is configured without complex
numbers.
See Also#
Level#
beginner
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages