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