CAPD DynSys Library
5.2.0
|
The class is class represents a subset of a countable infinite dimensional space. More...
#include <capd/pdes/PolyLogBound.h>
Public Types | |
typedef capd::interval | ScalarType |
typedef capd::IVector::size_type | size_type |
typedef capd::IMatrix | MatrixType |
typedef PolyLogBound | VectorType |
typedef capd::IVector | FiniteVectorType |
typedef MatrixType::RefRowVectorType | RefVectorType |
Public Member Functions | |
PolyLogBound () | |
PolyLogBound (size_type dim) | |
constructs a Geometric series with C=0, q=1 and s=0 and given number of explicitly stored coefficients. More... | |
PolyLogBound (size_type dim, ScalarType C, ScalarType q) | |
Constructs a Geometric series with given bound on tail C/(q^i). The coefficients 1,...,dim will be stored explicitly. More... | |
PolyLogBound (size_type dim, ScalarType C, ScalarType q, const ScalarType *coeff) | |
Constructs a Geometric series with given bound on tail C/(q^i). The coefficients 1,...,dim will be stored explicitly and initialized from an array coeff. More... | |
PolyLogBound (ScalarType C, ScalarType q, const FiniteVectorType &x) | |
Constructs a Geometric series with given bound on tail C/(q^i). The coefficients 1,...,dim will be stored explicitly and initialized from an array coeff. More... | |
PolyLogBound & | operator+= (const PolyLogBound &x) |
PolyLogBound & | operator-= (const PolyLogBound &x) |
PolyLogBound & | operator*= (const ScalarType &x) |
PolyLogBound | partialDerivative () const |
ScalarType | getCoefficient (size_type i) const |
Returns i-th coordinate of a PolyLogBound. The argument is an arbitrary natural number. More... | |
void | setCoefficient (size_type i, const ScalarType &s) |
Assigns a value to i-th coordinate of a PolyLogBound. The argument i must be less or equal to the number of explicitly stored coefficients. More... | |
ScalarType | getConstant (size_type i) const |
Returns constant used in the bound of the infinite dimensional tail. More... | |
void | setConstant (size_type i, ScalarType C) |
Sets new value of constant used in the bound of the infinite dimensional tail. It must be positive number. Otherwise an exception is thrown. More... | |
void | setPolynomialDegree (size_type d) |
ScalarType | getGeometricDecay () const |
Returns the constant q used in the bound of the infinite dimensional tail: C/(decay^i). More... | |
void | setGeometricDecay (ScalarType decay) |
Sets new value of q used in the bound of the infinite dimensional tail: C/(q^i). If q is out of (0,1) an exception is thrown. More... | |
size_type | dimension () const |
void | setExplicitCoefficients (const FiniteVectorType &x) |
FiniteVectorType & | getExplicitCoefficients () |
const FiniteVectorType & | getExplicitCoefficients () const |
operator FiniteVectorType () const | |
RefVectorType | projection (size_type dim) const |
ScalarType | operator[] (size_type i) const |
ScalarType & | operator[] (size_type i) |
void | clear () |
Public Attributes | |
typedef | capd:DVector Polynomial |
Static Public Attributes | |
const static size_type | csDim = capd::IVector::csDim |
Friends | |
std::ostream & | operator<< (std::ostream &s, const PolyLogBound &x) |
operator<< More... | |
The class is class represents a subset of a countable infinite dimensional space.
The representation splits into two parts.
The condition q>1 guarantees that the function is analytic near t=0.
The implementation provides operators and methods for acting on such functional objects, such as
|
inline |
capd::pdes::PolyLogBound::PolyLogBound | ( | size_type | dim | ) |
constructs a Geometric series with C=0, q=1 and s=0 and given number of explicitly stored coefficients.
capd::pdes::PolyLogBound::PolyLogBound | ( | size_type | dim, |
ScalarType | C, | ||
ScalarType | q | ||
) |
Constructs a Geometric series with given bound on tail C/(q^i). The coefficients 1,...,dim will be stored explicitly.
capd::pdes::PolyLogBound::PolyLogBound | ( | size_type | dim, |
ScalarType | C, | ||
ScalarType | q, | ||
const ScalarType * | coeff | ||
) |
Constructs a Geometric series with given bound on tail C/(q^i). The coefficients 1,...,dim will be stored explicitly and initialized from an array coeff.
capd::pdes::PolyLogBound::PolyLogBound | ( | ScalarType | C, |
ScalarType | q, | ||
const FiniteVectorType & | x | ||
) |
Constructs a Geometric series with given bound on tail C/(q^i). The coefficients 1,...,dim will be stored explicitly and initialized from an array coeff.
|
inline |
|
inline |
|
inline |
Returns i-th coordinate of a PolyLogBound. The argument is an arbitrary natural number.
|
inline |
Returns constant used in the bound of the infinite dimensional tail.
|
inline |
|
inline |
|
inline |
Returns the constant q used in the bound of the infinite dimensional tail: C/(decay^i).
|
inline |
PolyLogBound& capd::pdes::PolyLogBound::operator*= | ( | const ScalarType & | x | ) |
PolyLogBound& capd::pdes::PolyLogBound::operator+= | ( | const PolyLogBound & | x | ) |
PolyLogBound& capd::pdes::PolyLogBound::operator-= | ( | const PolyLogBound & | x | ) |
|
inline |
|
inline |
PolyLogBound capd::pdes::PolyLogBound::partialDerivative | ( | ) | const |
|
inline |
|
inline |
Assigns a value to i-th coordinate of a PolyLogBound. The argument i must be less or equal to the number of explicitly stored coefficients.
|
inline |
Sets new value of constant used in the bound of the infinite dimensional tail. It must be positive number. Otherwise an exception is thrown.
|
inline |
|
inline |
Sets new value of q used in the bound of the infinite dimensional tail: C/(q^i). If q is out of (0,1) an exception is thrown.
|
inline |
|
friend |
operator<<
This operator writes a PolyLogBound object to a given stream in the following form {{x_1,x_2,...,x_M},C,exponent} where M is the number of exactly represented coefficients of x.
[in] | out | - a stream to which the object x is to be written |
[in] | x | - an instance of class PolyLogBound |
typedef capd::pdes::PolyLogBound::capd |
|
static |