Polynomials::Monomial< number > Class Template Reference

Inheritance diagram for Polynomials::Monomial< number >:
Inheritance graph
[legend]

List of all members.

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)

Detailed Description

template<typename number>
class Polynomials::Monomial< number >

Class generates Polynomial objects representing a monomial of degree n, that is, the function $x^n$.

Author:
Guido Kanschat, 2004

Constructor & Destructor Documentation

template<typename number >
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.


Member Function Documentation

template<typename number >
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.

template<typename number >
static std::vector<number> Polynomials::Monomial< number >::make_vector ( unsigned int  n,
const double  coefficient 
) [static, private]

Needed by constructor.


The documentation for this class was generated from the following file:

deal.II documentation generated on Mon Nov 23 22:58:32 2009 by doxygen 1.6.1