PETSc version 3.17.4
Fix/Edit manual page

# MatNullSpaceDestroy

Destroys a data structure used to project vectors out of null spaces.

### Synopsis

    #include "petscmat.h"
    PetscErrorCode  MatNullSpaceDestroy(MatNullSpace *sp)

Collective on MatNullSpace

### Input Parameter

| sp | - the null space context to be destroyed

### See Also

MatNullSpaceCreate(), MatNullSpaceRemove(), MatNullSpaceSetFunction()

### Level

advanced

### Location

src/mat/interface/matnull.c

### Examples

src/dm/impls/stag/tutorials/ex2.c.html
src/dm/impls/stag/tutorials/ex3.c.html
src/ksp/ksp/tutorials/ex29.c.html
src/ksp/ksp/tutorials/ex32.c.html
src/ksp/ksp/tutorials/ex34.c.html
src/ksp/ksp/tutorials/ex49.c.html
src/ksp/ksp/tutorials/ex50.c.html
src/ksp/ksp/tutorials/ex56.c.html
src/ksp/ksp/tutorials/ex59.c.html
src/ksp/ksp/tutorials/ex66.c.html
src/ksp/ksp/tutorials/ex67.c.html
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages