Public Member Functions | |
Monomial (const unsigned int n, const double coefficient=1.) | |
Static Public Member Functions | |
static std::vector< Polynomial < number > > | generate_complete_basis (const unsigned int degree) |
Static Private Member Functions | |
static std::vector< number > | make_vector (unsigned int n, const double coefficient) |
Class generates Polynomial objects representing a monomial of degree n, that is, the function .
Polynomials::Monomial< number >::Monomial | ( | const unsigned int | n, | |
const double | coefficient = 1. | |||
) |
Constructor, taking the degree of the monomial and an optional coefficient as arguments.
static std::vector<Polynomial<number> > Polynomials::Monomial< number >::generate_complete_basis | ( | const unsigned int | degree | ) | [static] |
Return a vector of Monomial objects of degree zero through degree
, which then spans the full space of polynomials up to the given degree. This function may be used to initialize the TensorProductPolynomials and PolynomialSpace classes.
static std::vector<number> Polynomials::Monomial< number >::make_vector | ( | unsigned int | n, | |
const double | coefficient | |||
) | [static, private] |
Needed by constructor.