#include <SparseSymMatProd.h>
Public Member Functions | |
Index | cols () const |
void | perform_op (const Scalar *x_in, Scalar *y_out) const |
Index | rows () const |
SparseSymMatProd (ConstGenericSparseMatrix &mat) | |
Private Types | |
typedef Eigen::Index | Index |
typedef Eigen::Map< const Vector > | MapConstVec |
typedef Eigen::Map< Vector > | MapVec |
typedef Eigen::SparseMatrix< Scalar, Flags, StorageIndex > | SparseMatrix |
typedef Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > | Vector |
Private Attributes | |
const typedef Eigen::Ref< const SparseMatrix > | ConstGenericSparseMatrix |
ConstGenericSparseMatrix | m_mat |
This class defines the matrix-vector multiplication operation on a sparse real symmetric matrix , i.e., calculating for any vector . It is mainly used in the SymEigsSolver eigen solver.
Definition at line 23 of file SparseSymMatProd.h.
|
private |
Definition at line 26 of file SparseSymMatProd.h.
|
private |
Definition at line 28 of file SparseSymMatProd.h.
|
private |
Definition at line 29 of file SparseSymMatProd.h.
|
private |
Definition at line 30 of file SparseSymMatProd.h.
|
private |
Definition at line 27 of file SparseSymMatProd.h.
|
inline |
Constructor to create the matrix operation object.
mat | An Eigen sparse matrix object, whose type can be Eigen::SparseMatrix<Scalar, ...> or its mapped version Eigen::Map<Eigen::SparseMatrix<Scalar, ...> > . |
Definition at line 43 of file SparseSymMatProd.h.
|
inline |
Return the number of columns of the underlying matrix.
Definition at line 54 of file SparseSymMatProd.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 SparseSymMatProd.h.
|
inline |
Return the number of rows of the underlying matrix.
Definition at line 50 of file SparseSymMatProd.h.
|
private |
Definition at line 31 of file SparseSymMatProd.h.
|
private |
Definition at line 33 of file SparseSymMatProd.h.