|
Sacado Package Browser (Single Doxygen Collection) Version of the Day
|
Derivative array storage class using dynamic memory allocation. More...
#include <Sacado_Fad_Exp_DynamicStorage.hpp>
Classes | |
| struct | apply |
| Turn DynamicStorage into a meta-function class usable with mpl::apply. More... | |
| struct | apply_N |
| Replace static derivative length. More... | |
Public Types | |
| typedef std::remove_cv< T >::type | value_type |
Static Public Attributes | |
| static constexpr bool | is_statically_sized = false |
| static constexpr int | static_size = 0 |
| static constexpr bool | is_view = false |
Protected Attributes | |
| T | val_ |
| Value. | |
| int | sz_ |
| Derivative array size. | |
| int | len_ |
| Derivative array length. | |
| U * | dx_ |
| Derivative array. | |
Derivative array storage class using dynamic memory allocation.
Definition at line 46 of file Sacado_Fad_Exp_DynamicStorage.hpp.
| typedef std::remove_cv<T>::type Sacado::Fad::Exp::DynamicStorage< T, U >::value_type |
Definition at line 50 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Default constructor.
Definition at line 69 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Constructor with value.
Definition at line 74 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Constructor with size sz.
Initializes derivative array 0 of length sz
Definition at line 82 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Constructor with size sz, index i, and value x.
Initializes value to x and derivative array of length sz as row i of the identity matrix, i.e., sets derivative component i to 1 and all other's to zero.
Definition at line 98 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Copy constructor.
Definition at line 105 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Move constructor.
Definition at line 112 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Destructor.
Definition at line 121 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Assignment.
Definition at line 128 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Move assignment.
Definition at line 150 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Returns number of derivative components.
Definition at line 164 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Returns array length.
Definition at line 168 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Resize the derivative array to sz.
Note: This does not necessarily preserve derivative components.
Definition at line 175 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Resize the derivative array to sz.
This method doest not preserve any existing derivative components but sets any that are added to zero.
Definition at line 191 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Expand derivative array to size sz.
This method preserves any existing derivative components and sets any that are added to zero.
Definition at line 209 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Zero out derivative array.
Definition at line 225 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Returns value.
Definition at line 231 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Returns value.
Definition at line 235 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Returns derivative array.
Definition at line 239 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Returns derivative component i with bounds checking.
Definition at line 259 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Returns derivative component i without bounds checking.
Definition at line 263 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
inline |
Returns derivative component i without bounds checking.
Definition at line 267 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
staticconstexpr |
Definition at line 51 of file Sacado_Fad_Exp_DynamicStorage.hpp.
|
staticconstexpr |
Definition at line 52 of file Sacado_Fad_Exp_DynamicStorage.hpp.
Definition at line 53 of file Sacado_Fad_Exp_DynamicStorage.hpp.
Definition at line 274 of file Sacado_Fad_Exp_DynamicStorage.hpp.
Derivative array size.
Definition at line 277 of file Sacado_Fad_Exp_DynamicStorage.hpp.
Derivative array length.
Definition at line 280 of file Sacado_Fad_Exp_DynamicStorage.hpp.
Derivative array.
Definition at line 283 of file Sacado_Fad_Exp_DynamicStorage.hpp.