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