17 #include <deal.II/base/polynomials_integrated_legendre_sz.h> 19 DEAL_II_NAMESPACE_OPEN
23 Polynomials::Polynomial<double> (get_coefficients(k))
50 const double a = 1.0 / k;
51 const double b = 2.0*k - 3.0;
52 const double c = k - 3.0;
55 for (
unsigned int i=1; i<=k-2; i++)
57 coefficients[i] = b*coefficients_km1[i-1] - c*coefficients_km2[i];
74 std::vector<Polynomials::Polynomial<double> >
77 std::vector<Polynomials::Polynomial<double> > v;
79 for (
unsigned int i=0; i<=
degree; ++i)
88 DEAL_II_NAMESPACE_CLOSE
static std::vector< Polynomials::Polynomial< double > > generate_complete_basis(const unsigned int degree)
unsigned int degree() const
static const std::vector< double > get_coefficients(const unsigned int k)
IntegratedLegendreSZ(const unsigned int p)
std::vector< double > coefficients