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/sys/tests/ex25.c
src/dm/impls/stag/tutorials/ex6.c
src/ksp/ksp/tutorials/ex42.c
src/ksp/ksp/tutorials/ex43.c
src/snes/tutorials/ex25.c
src/snes/tutorials/ex4.c
src/snes/tutorials/ex46.c
src/snes/tutorials/ex58.c
src/tao/bound/tutorials/plate2.c
src/tao/complementarity/tutorials/minsurf1.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages