|
Macaulay2 Engine
|
#include <dmat-lu.hpp>
Public Types | |
| typedef RingType::ElementType | ElementType |
| typedef DMat< RingType > | Mat |
Public Member Functions | |
| DMatLinAlg (const Mat &A) | |
| Copies A into mLU and initializes all fields. | |
| bool | solve (const Mat &B, Mat &X) |
| bool | solveInvertible (const Mat &B, Mat &X) |
| bool | inverse (Mat &X) |
| void | determinant (ElementType &result) |
| Output: result, the determinant of A. | |
| bool | matrixPLU (std::vector< size_t > &P, Mat &L, Mat &U) |
| size_t | kernel (Mat &X) |
| size_t | rank () |
| Output: returns the approximate rank of A (-1 if fails). | |
| void | columnRankProfile (std::vector< size_t > &profile) |
Private Member Functions | |
| const RingType & | ring () const |
| void | setUpperLower (const Mat &LU, Mat &lower, Mat &upper) |
| void | debug_out () |
| void | debug_out_list (ElementType *x, size_t len) |
Private Attributes | |
| DMatLUinPlace< RingType > | mLUObject |
Definition at line 57 of file dmat-lu.hpp.