petsc-3.8.4 2018-03-24
Report Typos and Errors

PetscAbsReal

Returns the absolute value of an real number

Synopsis

#include <petscmath.h>
Real abs PetscAbsReal(PetscReal v1)
Not Collective

Input Parameter

v1 -the double

See Also

PetscMax(), PetscMin(), PetscAbsInt(), PetscSqr()

Level:beginner
Location:
include/petscmath.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/dm/examples/tutorials/ex15.c.html
src/ksp/ksp/examples/tutorials/ex42.c.html
src/ksp/ksp/examples/tutorials/ex51.c.html
src/snes/examples/tutorials/ex5.c.html
src/snes/examples/tutorials/ex15.c.html
src/snes/examples/tutorials/ex30.c.html
src/ts/examples/tutorials/ex11.c.html