MatOption#

Options that may be set for a matrix that indicate properties of the matrix or affect its behavior or storage

Synopsis#

Note#

See MatSetOption() for the use of the options

Developer Note#

Entries that are negative need not be called collectively by all processes.

See Also#

Matrices, Mat, MatSetOption()

Level#

beginner

Location#

include/petscmat.h

Examples#

src/snes/tutorials/ex28.c
src/mat/tutorials/ex4.c
src/tao/unconstrained/tutorials/spectraladjointassimilation.c
src/ksp/ksp/tutorials/ex69.c
src/ksp/ksp/tutorials/ex62.c
src/ts/tutorials/ex50.c
src/tao/unconstrained/tutorials/burgers_spectral.c
src/ksp/ksp/tutorials/ex4.c
src/ksp/ksp/tutorials/ex79.c

Examples#

src/snes/tutorials/ex5.c
src/mat/tutorials/ex16.c
src/snes/tutorials/ex28.c
src/snes/tutorials/ex35.c
src/ksp/ksp/tutorials/ex62.c
src/snes/tutorials/ex46.c
src/snes/tutorials/ex55.c
src/snes/tutorials/ex14.c
src/tao/bound/tutorials/jbearing2.c
src/tao/unconstrained/tutorials/eptorsion2.c

Examples#

src/tao/unconstrained/tutorials/minsurf1.c
src/tao/complementarity/tutorials/blackscholes.c
src/tao/bound/tutorials/plate2.c
src/tao/complementarity/tutorials/minsurf1.c
src/tao/unconstrained/tutorials/minsurf2.c

Examples#

src/snes/tutorials/ex48.c

Examples#

src/ksp/ksp/tutorials/ex84.c

Examples#

src/ksp/ksp/tutorials/ex9.c

Examples#

src/ksp/ksp/tutorials/ex59.c
src/ksp/ksp/tutorials/ex72.c

Examples#

src/ksp/ksp/tutorials/ex59.c
src/ts/tutorials/extchemfield.c
src/mat/tutorials/ex12.c
src/snes/tutorials/ex70.c
src/ksp/ksp/tutorials/ex4.c
src/ts/tutorials/extchem.c

Examples#

src/ksp/ksp/tutorials/ex5.c
src/ksp/ksp/tutorials/ex67.c
src/tao/pde_constrained/tutorials/parabolic.c
src/snes/tutorials/ex56.c
src/ksp/ksp/tutorials/ex21.c
src/tao/pde_constrained/tutorials/elliptic.c

Examples#

src/ksp/ksp/tutorials/ex74.c
src/ts/tutorials/extchem.c
src/ts/tutorials/extchemfield.c

Examples#

src/ksp/ksp/tutorials/ex55.c
src/ksp/ksp/tutorials/ex59.c
src/ksp/ksp/tutorials/ex71.c
src/snes/tutorials/ex56.c
src/ksp/ksp/tutorials/bench_kspsolve.c
src/ksp/ksp/tutorials/ex56.c
src/ksp/ksp/tutorials/ex54.c

Examples#

src/tao/unconstrained/tutorials/minsurf1.c
src/tao/tutorials/ex3.c
src/tao/unconstrained/tutorials/minsurf2.c
src/tao/pde_constrained/tutorials/parabolic.c
src/tao/unconstrained/tutorials/eptorsion1.c
src/tao/unconstrained/tutorials/eptorsion3.c
src/tao/bound/tutorials/plate2.c
src/tao/tutorials/ex4.c
src/tao/pde_constrained/tutorials/elliptic.c
src/tao/unconstrained/tutorials/eptorsion2.c

Examples#

src/ksp/ksp/tutorials/ex55.c
src/ksp/ksp/tutorials/ex59.c
src/ksp/ksp/tutorials/ex52.c
src/ksp/ksp/tutorials/ex71.c
src/snes/tutorials/ex56.c
src/ksp/ksp/tutorials/bench_kspsolve.c
src/ksp/ksp/tutorials/ex56.c
src/ksp/ksp/tutorials/ex54.c


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