|
Macaulay2 Engine
|
| size_t MatrixOps::nullSpace | ( | const Mat & | A, |
| Mat & | result_nullspace ) |
the null space of a matrix
result_nullspace is set to the matrix whose columns form a basis for {x | Ax = 0}. Returns the dimension of the nullspace.
result_nullspace should be a Mat, with the same ring/type as the input matrix A. result_nullspace does not need to be the correct size, it will be resized if needed.
throws an engine_error for ring/matrix types where the function is not implemented.
Definition at line 220 of file mat-linalg.hpp.
Referenced by MutableMat< Mat >::nullSpace().