#include <DenseGenMatProd.h>
Public Member Functions | |
Index | cols () const |
DenseGenMatProd (ConstGenericMatrix &mat) | |
void | perform_op (const Scalar *x_in, Scalar *y_out) const |
Index | rows () const |
Private Types | |
typedef Eigen::Index | Index |
typedef Eigen::Map< const Vector > | MapConstVec |
typedef Eigen::Map< Vector > | MapVec |
typedef Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > | Matrix |
typedef Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > | Vector |
Private Attributes | |
const typedef Eigen::Ref< const Matrix > | ConstGenericMatrix |
ConstGenericMatrix | m_mat |
This class defines the matrix-vector multiplication operation on a general real matrix , i.e., calculating for any vector . It is mainly used in the GenEigsSolver and SymEigsSolver eigen solvers.
Definition at line 29 of file DenseGenMatProd.h.
|
private |
Definition at line 32 of file DenseGenMatProd.h.
|
private |
Definition at line 35 of file DenseGenMatProd.h.
|
private |
Definition at line 36 of file DenseGenMatProd.h.
|
private |
Definition at line 33 of file DenseGenMatProd.h.
|
private |
Definition at line 34 of file DenseGenMatProd.h.
|
inline |
Constructor to create the matrix operation object.
mat | An Eigen matrix object, whose type can be Eigen::Matrix<Scalar, ...> (e.g. Eigen::MatrixXd and Eigen::MatrixXf ), or its mapped version (e.g. Eigen::Map<Eigen::MatrixXd> ). |
Definition at line 50 of file DenseGenMatProd.h.
|
inline |
Return the number of columns of the underlying matrix.
Definition at line 61 of file DenseGenMatProd.h.
|
inline |
Perform the matrix-vector multiplication operation .
x_in | Pointer to the vector. |
y_out | Pointer to the vector. |
Definition at line 70 of file DenseGenMatProd.h.
|
inline |
Return the number of rows of the underlying matrix.
Definition at line 57 of file DenseGenMatProd.h.
|
private |
Definition at line 37 of file DenseGenMatProd.h.
|
private |
Definition at line 39 of file DenseGenMatProd.h.