![]() |
Reference documentation for deal.II version 8.4.2
|
#include <deal.II/base/polynomial.h>
Public Member Functions | |
| Monomial (const unsigned int n, const double coefficient=1.) | |
Public Member Functions inherited from Polynomials::Polynomial< number > | |
| Polynomial (const std::vector< number > &coefficients) | |
| Polynomial (const unsigned int n) | |
| Polynomial (const std::vector< Point< 1 > > &lagrange_support_points, const unsigned int evaluation_point) | |
| Polynomial () | |
| number | value (const number x) const |
| void | value (const number x, std::vector< number > &values) const |
| unsigned int | degree () const |
| void | scale (const number factor) |
| template<typename number2 > | |
| void | shift (const number2 offset) |
| Polynomial< number > | derivative () const |
| Polynomial< number > | primitive () const |
| Polynomial< number > & | operator*= (const double s) |
| Polynomial< number > & | operator*= (const Polynomial< number > &p) |
| Polynomial< number > & | operator+= (const Polynomial< number > &p) |
| Polynomial< number > & | operator-= (const Polynomial< number > &p) |
| bool | operator== (const Polynomial< number > &p) const |
| void | print (std::ostream &out) const |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from Subscriptor | |
| Subscriptor () | |
| Subscriptor (const Subscriptor &) | |
| virtual | ~Subscriptor () |
| Subscriptor & | operator= (const Subscriptor &) |
| void | subscribe (const char *identifier=0) const |
| void | unsubscribe (const char *identifier=0) const |
| unsigned int | n_subscriptions () const |
| void | list_subscribers () const |
| DeclException3 (ExcInUse, int, char *, std::string &,<< "Object of class "<< arg2<< " is still used by "<< arg1<< " other objects."<< "\"<< "(Additional information: "<< arg3<< ")\"<< "See the entry in the Frequently Asked Questions of "<< "deal.II (linked to from http://www.dealii.org/) for "<< "a lot more information on what this error means and "<< "how to fix programs in which it happens.") | |
| DeclException2 (ExcNoSubscriber, char *, char *,<< "No subscriber with identifier <"<< arg2<< "> subscribes to this object of class "<< arg1<< ". Consequently, it cannot be unsubscribed.") | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
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) |
Additional Inherited Members | |
Protected Member Functions inherited from Polynomials::Polynomial< number > | |
| void | transform_into_standard_form () |
Static Protected Member Functions inherited from Polynomials::Polynomial< number > | |
| static void | scale (std::vector< number > &coefficients, const number factor) |
| template<typename number2 > | |
| static void | shift (std::vector< number > &coefficients, const number2 shift) |
| static void | multiply (std::vector< number > &coefficients, const number factor) |
Protected Attributes inherited from Polynomials::Polynomial< number > | |
| std::vector< number > | coefficients |
| bool | in_lagrange_product_form |
| std::vector< number > | lagrange_support_points |
| number | lagrange_weight |
Class generates Polynomial objects representing a monomial of degree n, that is, the function
.
Definition at line 253 of file polynomial.h.
| 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.
Definition at line 671 of file polynomial.cc.
|
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.
Definition at line 680 of file polynomial.cc.
|
staticprivate |
Needed by constructor.
Definition at line 660 of file polynomial.cc.
1.8.12