MatGetNullSpaces#
gets the null spaces, transpose null spaces, and near null spaces from an array of matrices that were supplied with MatSetNullSpace(), MatSetTransposeNullSpace(), and MatSetNearNullSpace()
Synopsis#
#include "petscmat.h"
PetscErrorCode MatGetNullSpaces(PetscInt n, Mat mat[], MatNullSpace *nullsp[])
Logically Collective
Input Parameters#
n - the number of matrices
mat - the array of matrices
Output Parameters#
nullsp - an array of null spaces,
NULLwill be inserted for each matrix that does not have a null space, length 3 *n
Note#
Call MatRestoreNullspaces() to provide these to another array of matrices
See Also#
Matrices, Mat, MatCreate(), MatNullSpaceCreate(), MatSetNearNullSpace(), MatGetNullSpace(), MatSetTransposeNullSpace(), MatGetTransposeNullSpace(),
MatNullSpaceRemove(), MatRestoreNullSpaces(), MatNullSpace
Level#
developer
Location#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages