An Eigen::Matrix adaptor for the fmm_matrix class.
More...
#include <matrix_free.hpp>
|
enum | { ColsAtCompileTime = Eigen::Dynamic,
MaxColsAtCompileTime = Eigen::Dynamic,
IsRowMajor = false
} |
|
typedef FmmMatrix | fmm_matrix_t |
|
typedef fmm_matrix_t::scalar_t | scalar_t |
|
typedef scalar_t | Scalar |
|
typedef NiHu::real_part_type< Scalar >::type | RealScalar |
|
typedef int | StorageIndex |
|
typedef Eigen::Matrix< scalar_t, Eigen::Dynamic, 1 > | vector_t |
|
template<class FmmMatrix>
class NiHu::fmm::matrix_free< FmmMatrix >
An Eigen::Matrix adaptor for the fmm_matrix class.
- Template Parameters
-
The adaptor enables the usage of the fmm_matrix class in Eigen's iterative solvers.
Definition at line 26 of file matrix_free.hpp.
◆ matrix_free()
template<class FmmMatrix >
◆ cols()
template<class FmmMatrix >
return the number of columns
- Returns
- the number of columns
Definition at line 88 of file matrix_free.hpp.
◆ get_diagonal()
template<class FmmMatrix >
return the diagonal of the matrix
- Returns
- the diagonal
Definition at line 106 of file matrix_free.hpp.
◆ operator*()
template<class FmmMatrix >
template<class RHS >
FmmMatrix::response_t NiHu::fmm::matrix_free< FmmMatrix >::operator* |
( |
Eigen::MatrixBase< RHS > const & |
rhs | ) |
const |
|
inline |
compute MVP
- Template Parameters
-
RHS | the right hand side type |
- Parameters
-
[in] | rhs | the right hand side |
- Returns
- the product
Definition at line 99 of file matrix_free.hpp.
◆ rows()
template<class FmmMatrix >
return the number of rows
- Returns
- the number of rows
Definition at line 81 of file matrix_free.hpp.
The documentation for this class was generated from the following file: