#include <matrix.hpp>
|
| | NumericMatrix () noexcept=default |
| |
| | NumericMatrix (const NumericMatrix &) noexcept=default |
| |
| NumericMatrix & | operator= (const NumericMatrix &) noexcept=default |
| |
| | NumericMatrix (NumericMatrix &&other) noexcept |
| |
| NumericMatrix & | operator= (NumericMatrix &&other) noexcept |
| |
| double | get (int row, int col) const |
| |
| void | set (int row, int col, double val) |
| |
| void | fill (double val) |
| |
| std::vector< double > | row (int idx) const |
| |
| std::vector< double > | col (int idx) const |
| |
| int | rows () const |
| |
| int | columns () const |
| |
| void | add_row (int idx, const std::vector< double > &values) |
| |
| void | add_col (int idx, const std::vector< double > &values) |
| |
| void | remove_row (int idx) |
| |
| void | remove_col (int idx) |
| |
| void | swap_rows (int i, int j) |
| |
| void | swap_columns (int i, int j) |
| |
| NumericMatrix | copy () const |
| |
| NumericMatrix | submatrix (int from_row, int to_row, int from_col, int to_col) const |
| |
| void | reshape (int rows, int cols) |
| |
| void | reverse () |
| |
| NumericMatrix | transpose () const |
| |
| void | sort (int column, bool ascending=true) |
| |
| NumericMatrix | concat (const NumericMatrix &other, bool horizontal) const |
| |
| double | avg () const |
| |
| double | min () const |
| |
| double | max () const |
| |
| double | mode () const |
| |
| double | sum () const |
| |
| NumericMatrix | diff (const NumericMatrix &other) const |
| |
| NumericMatrix | mult (const NumericMatrix &other) const |
| |
| NumericMatrix | pow (int n) const |
| |
| double | det () const |
| |
| NumericMatrix | inv () const |
| |
| NumericMatrix | pinv () const |
| |
| int | rank () const |
| |
| double | trace () const |
| |
| std::vector< double > | eigenvalues () const |
| |
| NumericMatrix | eigenvectors () const |
| |
| NumericMatrix | kron (const NumericMatrix &other) const |
| |
| int | elements_count () const |
| |
| bool | is_na () const noexcept |
| |
| Snapshot | snapshot () const |
| |
| void | restore (const Snapshot &snapshot) |
| |
| bool | is_square () const |
| |
| bool | is_identity () const |
| |
| bool | is_diagonal () const |
| |
| bool | is_antidiagonal () const |
| |
| bool | is_symmetric () const |
| |
| bool | is_antisymmetric () const |
| |
| bool | is_triangular () const |
| |
| bool | is_stochastic () const |
| |
| bool | is_binary () const |
| |
| bool | is_zero () const |
| |
| const Eigen::MatrixXd & | data () const |
| |
| Eigen::MatrixXd & | data () |
| |
Definition at line 10 of file matrix.hpp.
◆ NumericMatrix() [1/3]
| pineforge::NumericMatrix::NumericMatrix |
( |
| ) |
|
|
defaultnoexcept |
◆ NumericMatrix() [2/3]
| pineforge::NumericMatrix::NumericMatrix |
( |
const NumericMatrix & | | ) |
|
|
defaultnoexcept |
◆ NumericMatrix() [3/3]
| pineforge::NumericMatrix::NumericMatrix |
( |
NumericMatrix && | other | ) |
|
|
inlinenoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ new_()
| static NumericMatrix pineforge::NumericMatrix::new_ |
( |
int | rows, |
|
|
int | cols, |
|
|
double | init_val = 0.0 ) |
|
static |
◆ get()
| double pineforge::NumericMatrix::get |
( |
int | row, |
|
|
int | col ) const |
◆ set()
| void pineforge::NumericMatrix::set |
( |
int | row, |
|
|
int | col, |
|
|
double | val ) |
◆ fill()
| void pineforge::NumericMatrix::fill |
( |
double | val | ) |
|
◆ row()
| std::vector< double > pineforge::NumericMatrix::row |
( |
int | idx | ) |
const |
◆ col()
| std::vector< double > pineforge::NumericMatrix::col |
( |
int | idx | ) |
const |
◆ rows()
| int pineforge::NumericMatrix::rows |
( |
| ) |
const |
◆ columns()
| int pineforge::NumericMatrix::columns |
( |
| ) |
const |
◆ add_row()
| void pineforge::NumericMatrix::add_row |
( |
int | idx, |
|
|
const std::vector< double > & | values ) |
◆ add_col()
| void pineforge::NumericMatrix::add_col |
( |
int | idx, |
|
|
const std::vector< double > & | values ) |
◆ remove_row()
| void pineforge::NumericMatrix::remove_row |
( |
int | idx | ) |
|
◆ remove_col()
| void pineforge::NumericMatrix::remove_col |
( |
int | idx | ) |
|
◆ swap_rows()
| void pineforge::NumericMatrix::swap_rows |
( |
int | i, |
|
|
int | j ) |
◆ swap_columns()
| void pineforge::NumericMatrix::swap_columns |
( |
int | i, |
|
|
int | j ) |
◆ copy()
◆ submatrix()
| NumericMatrix pineforge::NumericMatrix::submatrix |
( |
int | from_row, |
|
|
int | to_row, |
|
|
int | from_col, |
|
|
int | to_col ) const |
◆ reshape()
| void pineforge::NumericMatrix::reshape |
( |
int | rows, |
|
|
int | cols ) |
◆ reverse()
| void pineforge::NumericMatrix::reverse |
( |
| ) |
|
◆ transpose()
◆ sort()
| void pineforge::NumericMatrix::sort |
( |
int | column, |
|
|
bool | ascending = true ) |
◆ concat()
◆ avg()
| double pineforge::NumericMatrix::avg |
( |
| ) |
const |
◆ min()
| double pineforge::NumericMatrix::min |
( |
| ) |
const |
◆ max()
| double pineforge::NumericMatrix::max |
( |
| ) |
const |
◆ mode()
| double pineforge::NumericMatrix::mode |
( |
| ) |
const |
◆ sum()
| double pineforge::NumericMatrix::sum |
( |
| ) |
const |
◆ diff()
◆ mult()
◆ pow()
◆ det()
| double pineforge::NumericMatrix::det |
( |
| ) |
const |
◆ inv()
◆ pinv()
◆ rank()
| int pineforge::NumericMatrix::rank |
( |
| ) |
const |
◆ trace()
| double pineforge::NumericMatrix::trace |
( |
| ) |
const |
◆ eigenvalues()
| std::vector< double > pineforge::NumericMatrix::eigenvalues |
( |
| ) |
const |
◆ eigenvectors()
◆ kron()
◆ elements_count()
| int pineforge::NumericMatrix::elements_count |
( |
| ) |
const |
◆ is_na()
| bool pineforge::NumericMatrix::is_na |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ snapshot()
| Snapshot pineforge::NumericMatrix::snapshot |
( |
| ) |
const |
|
nodiscard |
◆ restore()
| void pineforge::NumericMatrix::restore |
( |
const Snapshot & | snapshot | ) |
|
◆ is_square()
| bool pineforge::NumericMatrix::is_square |
( |
| ) |
const |
◆ is_identity()
| bool pineforge::NumericMatrix::is_identity |
( |
| ) |
const |
◆ is_diagonal()
| bool pineforge::NumericMatrix::is_diagonal |
( |
| ) |
const |
◆ is_antidiagonal()
| bool pineforge::NumericMatrix::is_antidiagonal |
( |
| ) |
const |
◆ is_symmetric()
| bool pineforge::NumericMatrix::is_symmetric |
( |
| ) |
const |
◆ is_antisymmetric()
| bool pineforge::NumericMatrix::is_antisymmetric |
( |
| ) |
const |
◆ is_triangular()
| bool pineforge::NumericMatrix::is_triangular |
( |
| ) |
const |
◆ is_stochastic()
| bool pineforge::NumericMatrix::is_stochastic |
( |
| ) |
const |
◆ is_binary()
| bool pineforge::NumericMatrix::is_binary |
( |
| ) |
const |
◆ is_zero()
| bool pineforge::NumericMatrix::is_zero |
( |
| ) |
const |
◆ data() [1/2]
| const Eigen::MatrixXd & pineforge::NumericMatrix::data |
( |
| ) |
const |
|
inline |
◆ data() [2/2]
| Eigen::MatrixXd & pineforge::NumericMatrix::data |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: