template<size_t K>
Rodin::Variational::BernsteinPyramid class

Bernstein basis on the reference pyramid.

Public static functions

static auto getBinomial(size_t n, size_t k) -> Real
Gets a binomial coefficient.
static auto getBasis(size_t n, size_t i, Real x) -> Real
Gets the basis function of a local degree of freedom.
static auto getDerivative(size_t n, size_t i, Real x) -> Real
Gets the derivative of the basis function.