16 #ifndef dealii__polynomials_bernstein_h 17 #define dealii__polynomials_bernstein_h 20 #include <deal.II/base/polynomial.h> 25 DEAL_II_NAMESPACE_OPEN
39 template <
typename number>
62 const unsigned int index,
63 const unsigned int degree);
67 template <
typename number>
68 std::vector<Polynomials::Polynomial<number> >
69 generate_complete_bernstein_basis (
70 const unsigned int degree)
72 std::vector<Polynomials::Polynomial<number> > v;
73 for (
unsigned int i = 0; i < degree + 1; ++i)
78 DEAL_II_NAMESPACE_CLOSE
unsigned int degree() const
PolynomialsBernstein(const unsigned int index, const unsigned int degree)