16 #ifndef dealii_polynomials_bernstein_h 17 #define dealii_polynomials_bernstein_h 20 #include <deal.II/base/polynomial.h> 26 DEAL_II_NAMESPACE_OPEN
40 template <
typename number>
66 template <
typename number>
67 std::vector<Polynomials::Polynomial<number>>
68 generate_complete_bernstein_basis(
const unsigned int degree)
70 std::vector<Polynomials::Polynomial<number>> v;
71 for (
unsigned int i = 0; i < degree + 1; ++i)
76 DEAL_II_NAMESPACE_CLOSE
unsigned int degree() const
PolynomialsBernstein(const unsigned int index, const unsigned int degree)