Sacado Package Browser (Single Doxygen Collection) Version of the Day
|
Derivative array storage class using static memory allocation. More...
#include <Sacado_Fad_StaticStorage.hpp>
Public Types | |
typedef T | value_type |
Protected Attributes | |
T | val_ |
Value. | |
T | dx_ [Num] |
Derivative array. | |
int | sz_ |
Size of derivative array. | |
Derivative array storage class using static memory allocation.
This class uses a statically allocated array whose dimension is fixed by the template parameter Num
.
Definition at line 63 of file Sacado_Fad_StaticStorage.hpp.
Definition at line 67 of file Sacado_Fad_StaticStorage.hpp.
|
inline |
Default constructor.
Definition at line 72 of file Sacado_Fad_StaticStorage.hpp.
|
inline |
Constructor with size sz
.
Initializes derivative array 0 of length sz
Definition at line 80 of file Sacado_Fad_StaticStorage.hpp.
|
inline |
Copy constructor.
Definition at line 92 of file Sacado_Fad_StaticStorage.hpp.
|
inline |
Destructor.
Definition at line 101 of file Sacado_Fad_StaticStorage.hpp.
|
inline |
Assignment.
Definition at line 105 of file Sacado_Fad_StaticStorage.hpp.
|
inline |
Returns number of derivative components.
Definition at line 118 of file Sacado_Fad_StaticStorage.hpp.
|
inline |
Returns array length.
Definition at line 122 of file Sacado_Fad_StaticStorage.hpp.
|
inline |
Resize the derivative array to sz.
Definition at line 126 of file Sacado_Fad_StaticStorage.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 140 of file Sacado_Fad_StaticStorage.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 156 of file Sacado_Fad_StaticStorage.hpp.
|
inline |
Zero out derivative array.
Definition at line 169 of file Sacado_Fad_StaticStorage.hpp.
|
inline |
Returns value.
Definition at line 173 of file Sacado_Fad_StaticStorage.hpp.
|
inline |
Returns value.
Definition at line 177 of file Sacado_Fad_StaticStorage.hpp.
|
inline |
Returns derivative array.
Definition at line 181 of file Sacado_Fad_StaticStorage.hpp.
|
inline |
Returns derivative component i
with bounds checking.
Definition at line 185 of file Sacado_Fad_StaticStorage.hpp.
|
inline |
Returns derivative component i
without bounds checking.
Definition at line 189 of file Sacado_Fad_StaticStorage.hpp.
|
inline |
Returns derivative component i
without bounds checking.
Definition at line 193 of file Sacado_Fad_StaticStorage.hpp.
Definition at line 198 of file Sacado_Fad_StaticStorage.hpp.
Derivative array.
Definition at line 201 of file Sacado_Fad_StaticStorage.hpp.
Size of derivative array.
Definition at line 204 of file Sacado_Fad_StaticStorage.hpp.