MatNullSpaceTest#

Tests if the claimed null space is really a null space of a matrix

Synopsis#

#include "petscmat.h" 
PetscErrorCode MatNullSpaceTest(MatNullSpace sp, Mat mat, PetscBool *isNull)

Collective

Input Parameters#

  • sp - the null space context

  • mat - the matrix

Output Parameter#

  • isNull - PETSC_TRUE if the nullspace is valid for this matrix

See Also#

Matrices, Mat, MatNullSpace, MatNullSpaceCreate(), MatNullSpaceDestroy(), MatNullSpaceSetFunction()

Level#

advanced

Location#

src/mat/interface/matnull.c

Examples#

src/snes/tutorials/ex63.c
src/ts/tutorials/ex50.c
src/tao/unconstrained/tutorials/burgers_spectral.c
src/tao/unconstrained/tutorials/spectraladjointassimilation.c


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