|
|
| StaticFixedStandardStorage (const ordinal_type &sz, const value_type &x=value_type(0.0)) |
| | Constructor.
|
| |
|
| StaticFixedStandardStorage (const StaticFixedStandardStorage &s) |
| | Copy constructor.
|
| |
|
| ~StaticFixedStandardStorage () |
| | Destructor.
|
| |
|
StaticFixedStandardStorage & | operator= (const StaticFixedStandardStorage &s) |
| | Assignment operator.
|
| |
|
void | init (const_reference v) |
| | Initialize values to a constant value.
|
| |
|
void | init (const_pointer v, const ordinal_type &sz_=0) |
| | Initialize values to an array of values.
|
| |
|
void | load (pointer v) |
| | Load values to an array of values.
|
| |
|
void | resize (const ordinal_type &sz) |
| | Resize to new size (values are preserved)
|
| |
|
const_reference | operator[] (const ordinal_type &i) const |
| | Coefficient access (avoid if possible)
|
| |
|
reference | operator[] (const ordinal_type &i) |
| | Coefficient access (avoid if possible)
|
| |
|
const_pointer | coeff () const |
| | Get coefficients.
|
| |
|
pointer | coeff () |
| | Get coefficients.
|
| |
template<typename ordinal_type, typename value_type, int Num>
class Stokhos::StaticFixedStandardStorage< ordinal_type, value_type, Num >
Statically allocated storage class.