Class MatrixBase¶
Defined in File matrix.h
Inheritance Relationships¶
Derived Types¶
public SymEngine::CSRMatrix(Class CSRMatrix)public SymEngine::DenseMatrix(Class DenseMatrix)
Class Documentation¶
-
class
SymEngine::MatrixBase¶ Subclassed by SymEngine::CSRMatrix, SymEngine::DenseMatrix
Public Functions
-
~MatrixBase()¶
-
bool
is_square() const¶
-
unsigned
nrows() const = 0¶
-
unsigned
ncols() const = 0¶
-
bool
eq(const MatrixBase &other) const¶
-
std::string
__str__() const¶
-
unsigned
rank() const = 0¶
-
void
inv(MatrixBase &result) const = 0¶
-
void
add_matrix(const MatrixBase &other, MatrixBase &result) const = 0¶
-
void
mul_matrix(const MatrixBase &other, MatrixBase &result) const = 0¶
-
void
elementwise_mul_matrix(const MatrixBase &other, MatrixBase &result) const = 0¶
-
void
add_scalar(const RCP<const Basic> &k, MatrixBase &result) const = 0¶
-
void
mul_scalar(const RCP<const Basic> &k, MatrixBase &result) const = 0¶
-
void
conjugate(MatrixBase &result) const = 0¶
-
void
transpose(MatrixBase &result) const = 0¶
-
void
conjugate_transpose(MatrixBase &result) const = 0¶
-
void
submatrix(MatrixBase &result, unsigned row_start, unsigned col_start, unsigned row_end, unsigned col_end, unsigned row_step = 1, unsigned col_step = 1) const = 0¶
-
void
LU(MatrixBase &L, MatrixBase &U) const = 0¶
-
void
LDL(MatrixBase &L, MatrixBase &D) const = 0¶
-
void
FFLU(MatrixBase &LU) const = 0¶
-
void
FFLDU(MatrixBase &L, MatrixBase &D, MatrixBase &U) const = 0¶
-
void
QR(MatrixBase &Q, MatrixBase &R) const = 0¶
-
void
cholesky(MatrixBase &L) const = 0¶
-
void
LU_solve(const MatrixBase &b, MatrixBase &x) const = 0¶
-