WaveBlocksND
Classes | Namespaces | Typedefs | Functions
adaptors.hpp File Reference
#include "../types.hpp"
#include "../wavepackets/shapes/tiny_multi_index.hpp"

Go to the source code of this file.

Classes

class  waveblocks::utilities::MatrixToGrid< Matrix >
 Adaptor which accepts an Eigen::Matrix and emulates some behavior of a std::vector. More...
 
class  waveblocks::utilities::MatrixToGridIterator< Matrix >
 Forward iterator for the MatrixToGrid class. More...
 
class  waveblocks::utilities::MatrixToGrid< Matrix >
 Adaptor which accepts an Eigen::Matrix and emulates some behavior of a std::vector. More...
 
struct  waveblocks::utilities::PacketToCoefficients< Packet >
 
struct  waveblocks::utilities::PacketToCoefficients< wavepackets::ScalarHaWp< D, MultiIndex > >
 

Namespaces

 waveblocks
 
 waveblocks::utilities
 

Typedefs

template<class Matrix >
using waveblocks::utilities::grid_element_type = GVector< typename Matrix::Scalar, Matrix::RowsAtCompileTime >
 

Functions

template<class Matrix , template< typename... > class Grid = std::vector>
Grid< grid_element_type< Matrix > > waveblocks::utilities::matrix_to_grid (const Matrix &m)
 Copies a Eigen::Matrix into a grid. More...
 
template<class Matrix , template< typename... > class Grid = std::vector>
Matrix waveblocks::utilities::grid_to_matrix (Grid< grid_element_type< Matrix > > g)
 Copies a grid into a Eigen::Matrix. More...