petsc-3.13.6 2020-09-29
Report Typos and Errors

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 on MatNullSpace

Input Parameters

sp - the null space context
mat - the matrix

Output Parameters

isNull -PETSC_TRUE if the nullspace is valid for this matrix

See Also

MatNullSpaceCreate(), MatNullSpaceDestroy(), MatNullSpaceSetFunction()

Level

advanced

Location

src/mat/interface/matnull.c

Examples

src/snes/tutorials/ex62.c.html
src/ts/tutorials/ex50.c.html
src/tao/unconstrained/tutorials/spectraladjointassimilation.c.html

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