PetscPowScalar#

Returns the value of a raised to the power b, both PetscScalar

Synopsis#

#include <petscmath.h>
PetscScalar PetscPowScalar(PetscScalar a, PetscScalar b)

Not Collective; No Fortran Support

Input Parameters#

  • a - the value

  • b - the value

See Also#

PetscReal, PetscScalar, PetscComplex, PetscPowReal(), PetscPowComplex()

Level#

beginner

Location#

include/petscmath.h

Examples#

src/snes/tutorials/ex33.c


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