PETSc type that represents a complex number with precision matching that of PetscReal.
PetscComplex number = 1. + 2.*PETSC_i;
Complex numbers are automatically available if PETSc was configured --with-scalar-type=complex (in which case
PetscComplex will match PetscScalar), otherwise the macro PETSC_DESIRE_COMPLEX must be defined before including any
PETSc headers. If the compiler supports complex numbers, PetscComplex and associated variables and functions will be
defined and PETSC_HAVE_COMPLEX will be set.
PetscReal, PetscComplex, MPIU_COMPLEX, PetscInt, PETSC_i
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages