MatScalar#

Datatype used inside matrix implementations to store matrix entries

Note#

MatScalar is currently a synonym for PetscScalar. It exists so that matrix internals can, in principle, store entries in a different precision from the rest of PETSc. No PETSc matrix implementation currently exploits this.

See Also#

PetscScalar, MatReal, Mat, PETSC_USE_COMPLEX

Level#

developer

Location#

include/petscmath.h

Examples#

src/ksp/ksp/tests/ex61.c
src/mat/tests/ex161.c
src/mat/tests/ex95.c


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