ARPACK-Armadillo
|
#include <DenseGenMatProd.h>
Public Member Functions | |
DenseGenMatProd (Matrix &mat_) | |
int | rows () |
int | cols () |
void | perform_op (Scalar *x_in, Scalar *y_out) |
This class defines the matrix-vector multiplication operation on a general real matrix \(A\), i.e., calculating \(y=Ax\) for any vector \(x\). It is mainly used in the GenEigsSolver and SymEigsSolver eigen solvers.
Definition at line 27 of file DenseGenMatProd.h.
|
inline |
Constructor to create the matrix operation object.
mat_ | An Armadillo matrix object, whose type can be arma::mat or arma::fmat , depending on the template parameter Scalar defined. |
Definition at line 42 of file DenseGenMatProd.h.
|
inline |
Return the number of rows of the underlying matrix.
Definition at line 49 of file DenseGenMatProd.h.
|
inline |
Return the number of columns of the underlying matrix.
Definition at line 53 of file DenseGenMatProd.h.
|
inline |
Perform the matrix-vector multiplication operation \(y=Ax\).
x_in | Pointer to the \(x\) vector. |
y_out | Pointer to the \(y\) vector. |
Definition at line 62 of file DenseGenMatProd.h.