NiHu  2.0
NiHu::fmm::convolution_matrix< Scalar > Class Template Reference

Class performing convolution. More...

#include <convolution_matrix.hpp>

Public Types

typedef Scalar scalar_t
 template parameter as nested type
 
typedef Eigen::Matrix< scalar_t, Eigen::Dynamic, 1 > vector_t
 the column vector type
 

Public Member Functions

 convolution_matrix ()
 constructor
 
 convolution_matrix (size_t N, size_t M, vector_t const &diag_coeffs)
 constructor More...
 
vector_t operator* (vector_t const &rhs) const
 Multiply the convolution matrix by a vector from the right. More...
 

Detailed Description

template<class Scalar>
class NiHu::fmm::convolution_matrix< Scalar >

Class performing convolution.

Template Parameters
ScalarScalar type of the convolution

Definition at line 24 of file convolution_matrix.hpp.

Constructor & Destructor Documentation

◆ convolution_matrix()

template<class Scalar >
NiHu::fmm::convolution_matrix< Scalar >::convolution_matrix ( size_t  N,
size_t  M,
vector_t const &  diag_coeffs 
)
inline

constructor

Parameters
[in]Nthe output size of convolution
[in]Mthe input size of convolution
[in]diag_coeffsthe coefficients of the weight function

Definition at line 42 of file convolution_matrix.hpp.

Member Function Documentation

◆ operator*()

template<class Scalar >
vector_t NiHu::fmm::convolution_matrix< Scalar >::operator* ( vector_t const &  rhs) const
inline

Multiply the convolution matrix by a vector from the right.

Parameters
[in]rhsthe input of convolution
Returns
the output of convolution

Definition at line 54 of file convolution_matrix.hpp.


The documentation for this class was generated from the following file: