|
Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
CacheTaylor expression template specialization. More...
#include <Sacado_Tay_CacheTaylor.hpp>

Public Types | |
| typedef CacheTaylor< T > | base_expr_type |
| Typename of base-expressions. More... | |
Public Types inherited from Sacado::Tay::CacheTaylorImplementation< T > | |
| typedef T | value_type |
| Typename of values. More... | |
| typedef ScalarType< T >::type | scalar_type |
| Typename of scalar's (which may be different from ValueT) More... | |
Public Member Functions | |
| Expr () | |
| Default constructor. More... | |
| Expr (const T &x) | |
Constructor with supplied value x. More... | |
| Expr (int d, const T &x) | |
Constructor with degree d and value x. More... | |
| Expr (const Expr &x) | |
| Copy constructor. More... | |
Public Member Functions inherited from Sacado::Tay::CacheTaylorImplementation< T > | |
| CacheTaylorImplementation () | |
| Default constructor. More... | |
| CacheTaylorImplementation (const T &x) | |
Constructor with supplied value x. More... | |
| CacheTaylorImplementation (int d, const T &x) | |
Constructor with degree d and value x. More... | |
| CacheTaylorImplementation (const CacheTaylorImplementation &x) | |
| Copy constructor. More... | |
| ~CacheTaylorImplementation () | |
| Destructor. More... | |
| void | resize (int d, bool keep_coeffs) |
| Resize polynomial to degree d. More... | |
| const T & | val () const |
| Returns value. More... | |
| T & | val () |
| Returns value. More... | |
| int | degree () const |
| Returns degree of polynomial. More... | |
| bool | hasFastAccess (int d) const |
| Returns true if polynomial has degree >= d. More... | |
| const std::valarray< T > & | coeff () const |
| Returns Taylor coefficient array. More... | |
| const T | coeff (int i) const |
Returns degree i term with bounds checking. More... | |
| T | coeff (int i) |
Returns degree i term with bounds checking. More... | |
| T & | fastAccessCoeff (int i) |
Returns degree i term without bounds checking. More... | |
| const T & | fastAccessCoeff (int i) const |
Returns degree i term without bounds checking. More... | |
| void | allocateCache (int d) const |
| Allocate coefficient cache. More... | |
| template<typename S > | |
| bool | isEqualTo (const Expr< S > &x) const |
| Returns whether two Taylor objects have the same values. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Sacado::Tay::CacheTaylorImplementation< T > | |
| void | resizeCoeffs (int dnew) |
| Resize coefficient array to new size. More... | |
| int | coeff_size () const |
Protected Attributes inherited from Sacado::Tay::CacheTaylorImplementation< T > | |
| std::valarray< T > | coeff_ |
| Taylor polynomial coefficients. More... | |
CacheTaylor expression template specialization.
This template class represents a simple CacheTaylor expression.
Definition at line 194 of file Sacado_Tay_CacheTaylor.hpp.
| typedef CacheTaylor<T> Sacado::Tay::Expr< CacheTaylorImplementation< T > >::base_expr_type |
Typename of base-expressions.
Definition at line 200 of file Sacado_Tay_CacheTaylor.hpp.
|
inline |
Default constructor.
Definition at line 203 of file Sacado_Tay_CacheTaylor.hpp.
|
inline |
Constructor with supplied value x.
Sets the first coefficient to x
Definition at line 209 of file Sacado_Tay_CacheTaylor.hpp.
|
inline |
Constructor with degree d and value x.
Initializes first coeffienct to x and of a polynomial of degree d
Definition at line 215 of file Sacado_Tay_CacheTaylor.hpp.
|
inline |
Copy constructor.
Definition at line 218 of file Sacado_Tay_CacheTaylor.hpp.
1.8.14