|
template<typename Z = bool> |
enable_if_t< Self::is_vector, Z > | areEqualEigenvaluesAs (const Matrix< Scalar, Dynamic, 1 > &other, double tolerance=1.0e-12) const |
|
template<typename Z = bool> |
enable_if_t< Self::is_vector, Z > | isEqualEigenvectorAs (const Matrix< Scalar, Dynamic, 1 > &other, double tolerance=1.0e-12) const |
|
template<typename Z = bool> |
enable_if_t< Self::is_matrix, Z > | hasEqualSetsOfEigenvectorsAs (const Matrix< Scalar, Dynamic, Dynamic > &other, double tolerance=1.0e-12) const |
|
template<typename Z = Scalar> |
enable_if_t< Self::is_vector &&(Rows==3), Z > | operator() (const CartesianDirection direction) const |
|
template<typename Z = Scalar&> |
enable_if_t< Self::is_vector &&(Rows==3), Z > | operator() (const CartesianDirection direction) |
|
template<typename Z = Self> |
enable_if_t< Self::is_matrix, Z > | calculateMinor (size_t i, size_t j) const |
|
const Base & | Eigen () const |
|
Base & | Eigen () |
|
const bool | isPositiveSemiDefinite (const double threshold=-1.0e-5) const |
|
template<typename Z = Matrix<Scalar, Rows, 1>> |
enable_if_t< Self::is_matrix, Z > | pairWiseReduced (const size_t start_i=0, size_t start_j=0) const |
|
template<typename Z = void> |
enable_if_t< Self::is_matrix, Z > | print (std::ostream &output_stream=std::cout) const |
|
void | removeColumn (const size_t i) |
|
void | removeColumns (const std::vector< size_t > &column_indices) |
|
void | removeRow (const size_t i) |
|
void | removeRows (const std::vector< size_t > &row_indices) |
|
|
template<typename Z = Self> |
static enable_if_t<(Cols==Dynamic) &&(Rows==Dynamic), Z > | FromColumnMajorVector (const Matrix< Scalar, Dynamic, 1 > &v, const size_t rows, const size_t cols) |
|
template<typename Z = Self> |
static enable_if_t< Self::is_vector, Z > | FromFile (const std::string &filename, size_t rows) |
|
template<typename Z = Self> |
static enable_if_t< Self::is_matrix, Z > | FromFile (const std::string &filename, size_t rows, size_t cols) |
|
template<typename Z = Self> |
static enable_if_t<(Cols==Dynamic) &&(Rows==Dynamic), Z > | FromRowMajorVector (const Matrix< Scalar, Dynamic, 1 > &v, const size_t rows, const size_t cols) |
|
template<typename _Scalar = double, int _Rows = Dynamic, int _Cols = Dynamic>
class GQCP::Matrix< _Scalar, _Rows, _Cols >
An extension of the Eigen::Matrix class, with extra operations
- Template Parameters
-
_Scalar | the scalar representation type |
_Rows | the number of rows (int or Dynamic) |
_Cols | the number of columns (int or Dynamic) |
We have decided to inherit from Eigen::Matrix, because we will use different hierarchies: see also: https://eigen.tuxfamily.org/dox-devel/TopicCustomizing_InheritingMatrix.html
template<typename _Scalar = double, int _Rows = Dynamic, int _Cols = Dynamic>
template<typename Z = Matrix<Scalar, Rows, 1>>
enable_if_t< Self::is_matrix, Z > GQCP::Matrix< _Scalar, _Rows, _Cols >::pairWiseReduced |
( |
const size_t |
start_i = 0 , |
|
|
size_t |
start_j = 0 |
|
) |
| const |
|
inline |
- Parameters
-
start_i | the index at which the rows should start |
start_j | the index at which the columns should start |
- Returns
- this matrix as a vector in a column-major storage, i.e. a pair-wise reduced form of this matrix. The elements of the matrix are put into the vector such that v(m) = M(i,j)
in which m is calculated from i and j in a column-major way