PetscIsCloseAtTolScalar#

Like PetscIsCloseAtTol() but for PetscScalar

Synopsis#

Not Collective

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
src/dm/dt/fe/tests/ex4.c
src/dm/impls/plex/tests/ex49.c
src/mat/tests/ex261.c
src/vec/vec/tests/ex52.c
src/vec/vec/tests/ex53.c
src/vec/vec/tests/ex63.c
src/vec/vec/tests/ex64.c


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