PetscIsCloseAtTolScalar#

Like PetscIsCloseAtTol() but for PetscScalar

Synopsis#

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#

PetscIsCloseAtTol()

Level#

beginner

Location#

include/petscmath.h

Examples#

src/vec/vec/tutorials/ex9.c


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