6 #ifndef OPENFPM_PDATA_VANDERMONDEROW_HPP
7 #define OPENFPM_PDATA_VANDERMONDEROW_HPP
9 #include "MonomialBasis.hpp"
11 template <
unsigned int dim,
typename T,
typename MonomialBasis_type = MonomialBasis<dim>>
15 const MonomialBasis_type& monomialBasis;
20 template <
typename MatrixType>
21 void buildRow(MatrixType &V,
unsigned int row,
Point<dim, T> x);
24 template<
unsigned int dim,
typename T,
typename MonomialBasis_type>
25 template <
typename MatrixType>
28 auto& basisElements = monomialBasis.getElements();
30 for (
size_t col = 0; col < basisElements.size(); ++col)
33 V(row, col) = m.evaluate(x);
This class implement the point shape in an N-dimensional space.