#include <DenseSymMatProd.h>
Public Member Functions | |
Index | cols () const |
DenseSymMatProd (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 symmetric real matrix , i.e., calculating for any vector . It is mainly used in the SymEigsSolver eigen solver.
Definition at line 22 of file DenseSymMatProd.h.
|
private |
Definition at line 25 of file DenseSymMatProd.h.
|
private |
Definition at line 28 of file DenseSymMatProd.h.
|
private |
Definition at line 29 of file DenseSymMatProd.h.
|
private |
Definition at line 26 of file DenseSymMatProd.h.
|
private |
Definition at line 27 of file DenseSymMatProd.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 43 of file DenseSymMatProd.h.
|
inline |
Return the number of columns of the underlying matrix.
Definition at line 54 of file DenseSymMatProd.h.
|
inline |
Perform the matrix-vector multiplication operation .
x_in | Pointer to the vector. |
y_out | Pointer to the vector. |
Definition at line 63 of file DenseSymMatProd.h.
|
inline |
Return the number of rows of the underlying matrix.
Definition at line 50 of file DenseSymMatProd.h.
|
private |
Definition at line 30 of file DenseSymMatProd.h.
|
private |
Definition at line 32 of file DenseSymMatProd.h.