File EigenDenseMatrix.h
-
template<class NT>
class EigenDenseMatrix - #include <EigenDenseMatrix.h>
A wrap class to use Eigen dense matrices when solving Eigenvalue problems with ARPACK++
- Template Parameters:
NT – Numeric Type
Public Types
-
typedef Eigen::Matrix<NT, Eigen::Dynamic, Eigen::Dynamic> MT
Eigen matrix type.
-
typedef Eigen::Matrix<NT, Eigen::Dynamic, 1> VT
Eigen vector type.
Public Functions
-
inline int nrows()
- Returns:
Number of rows
-
inline int ncols()
- Returns:
Number of columns
-
inline int rows()
- Returns:
Number of rows
-
inline int cols()
- Returns:
Number of columns
-
inline void MultMv(NT *v, NT *w)
Required by ARPACK++ : Multiplies the matrix with vector v
- Parameters:
v – [in] The input vector, for example double*
w – [out] The result of M*v
-
inline void perform_op(NT *v, NT *w)
Required by ARPACK++ : Multiplies the matrix with vector v
- Parameters:
v – [in] The input vector, for example double*
w – [out] The result of M*v
-
inline EigenDenseMatrix(MT const *M)
Constructs an object
- Parameters:
M – [in] An Eigen Matrix