PetscSqr

Returns the square of a number

Input Parameter

v1 -the value

Synopsis

type sqr PetscSqr(type v1)
Notes: type can be integer or floating point value

See Also

PetscMax(), PetscMin(), PetscAbsInt(), PetscAbsReal()

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