Home Installation Demos C++ docs Python docs
polynomials.h
int dim(polynomials::type polytype, cell::type cell, int d)
Dimension of a polynomial space.
Definition: polynomials.cpp:312
std::pair< std::vector< T >, std::array< std::size_t, 2 > > tabulate(polynomials::type polytype, cell::type celltype, int d, md::mdspan< const T, md::dextents< std::size_t, 2 >> x)
Tabulate a set of polynomials.
Definition: polynomials.cpp:269
@ lagrange
@ legendre
Legendre polynomials: polynomials that span the full space on a cell.