petsc-3.6.2 2015-10-02
Report Typos and Errors

# PetscScalar

PETSc type that represents either a double precision real number, a double precision complex number, a single precision real number, a long double or an int - if the code is configured with --with-scalar-type=real,complex --with-precision=single,double,longdouble,int,matsingle

### See Also

PetscReal, PassiveReal, PassiveScalar, MPIU_SCALAR, PetscInt

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

### Examples

src/sys/classes/random/examples/tutorials/ex2.c.html
src/vec/vec/examples/tutorials/ex5.c.html
src/vec/vec/examples/tutorials/ex9.c.html
src/vec/vec/examples/tutorials/ex10.c.html
src/vec/vec/examples/tutorials/ex15.c.html
src/vec/vec/examples/tutorials/ex4f90.F.html
src/vec/is/sf/examples/tutorials/ex2.c.html
src/mat/examples/tutorials/ex8.c.html
src/dm/examples/tutorials/ex15.c.html
src/dm/examples/tutorials/ex11f90.F.html
src/ksp/ksp/examples/tutorials/ex3.c.html