petsc-3.4.2 2013-07-02

# MatGetNullSpace

retrieves the null space to a matrix.

### Synopsis

    #include "petscmat.h"
    PetscErrorCode MatGetNullSpace(Mat mat, MatNullSpace *nullsp)

Logically Collective on Mat and MatNullSpace

### Input Parameters

| mat | - the matrix
| nullsp | - the null space object

### Notes

This null space is used by solvers. Overwrites any previous null space that may have been attached

### See Also

MatCreate(), MatNullSpaceCreate(), MatSetNearNullSpace()

Level:developer
Location: src/mat/interface/matrix.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages