|
Sacado Package Browser (Single Doxygen Collection) Version of the Day
|
Derivative array storage class using dynamic memory allocation. More...
#include <Sacado_Fad_DynamicStorage.hpp>

Public Types | |
| typedef T | value_type |
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 59 of file Sacado_Fad_DynamicStorage.hpp.
Definition at line 63 of file Sacado_Fad_DynamicStorage.hpp.
|
inline |
Default constructor.
Definition at line 68 of file Sacado_Fad_DynamicStorage.hpp.
|
inline |
Constructor with size sz.
Initializes derivative array 0 of length sz
Definition at line 76 of file Sacado_Fad_DynamicStorage.hpp.
|
inline |
Copy constructor.
Definition at line 86 of file Sacado_Fad_DynamicStorage.hpp.
|
inline |
Destructor.
Definition at line 93 of file Sacado_Fad_DynamicStorage.hpp.
|
inline |
Assignment.
Definition at line 100 of file Sacado_Fad_DynamicStorage.hpp.
|
inline |
Returns number of derivative components.
Definition at line 122 of file Sacado_Fad_DynamicStorage.hpp.
|
inline |
Returns array length.
Definition at line 126 of file Sacado_Fad_DynamicStorage.hpp.
|
inline |
Resize the derivative array to sz.
Note: This does not necessarily preserve derivative components.
Definition at line 133 of file Sacado_Fad_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 149 of file Sacado_Fad_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 167 of file Sacado_Fad_DynamicStorage.hpp.
|
inline |
Zero out derivative array.
Definition at line 183 of file Sacado_Fad_DynamicStorage.hpp.
|
inline |
Returns value.
Definition at line 189 of file Sacado_Fad_DynamicStorage.hpp.
|
inline |
Returns value.
Definition at line 193 of file Sacado_Fad_DynamicStorage.hpp.
|
inline |
Returns derivative array.
Definition at line 197 of file Sacado_Fad_DynamicStorage.hpp.
|
inline |
Returns derivative component i with bounds checking.
Definition at line 217 of file Sacado_Fad_DynamicStorage.hpp.
|
inline |
Returns derivative component i without bounds checking.
Definition at line 221 of file Sacado_Fad_DynamicStorage.hpp.
|
inline |
Returns derivative component i without bounds checking.
Definition at line 225 of file Sacado_Fad_DynamicStorage.hpp.
Definition at line 232 of file Sacado_Fad_DynamicStorage.hpp.
Derivative array size.
Definition at line 235 of file Sacado_Fad_DynamicStorage.hpp.
Derivative array length.
Definition at line 238 of file Sacado_Fad_DynamicStorage.hpp.
Derivative array.
Definition at line 241 of file Sacado_Fad_DynamicStorage.hpp.