PetscSqrtScalar#
Returns the square root of a PetscScalar value
Synopsis#
#include <petscmath.h>
PetscScalar PetscSqrtScalar(PetscScalar a)
Not Collective; No Fortran Support
Input Parameter#
. a - the value
See Also#
PetscReal, PetscScalar, PetscComplex, PetscSqrtReal(), PetscSqrtComplex()
Level#
beginner
Location#
Examples#
src/ts/tutorials/ex9.c
src/dm/impls/stag/tutorials/ex6.c
src/snes/tutorials/ex46.c
src/snes/tutorials/ex4.c
src/snes/tutorials/ex58.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages