in_nullspace

dolfin.cpp.la.in_nullspace(*args) → bool

Check whether a vector space basis is in the nullspace of a given operator. The string option ‘type’ can be “right” for the right nullspace (Ax=0) or “left” for the left nullspace (A^Tx = 0). To test the left nullspace, A must also be of type GenericMatrix .

Parameters:
  • GenericLinearOperator & A (const) –
  • VectorSpaceBasis & x (const) –
  • type (std::string) –
Return type:

bool