|
Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
Dynamic array allocation class that is specialized for scalar i.e., fundamental or built-in types (float, double, etc...). More...
#include <Stokhos_DynamicArrayTraits.hpp>
Static Public Member Functions | |
| static T * | get_and_fill (int sz) |
Get memory for new array of length sz and fill with zeros. More... | |
| static T * | get_and_fill (const T *src, int sz) |
Get memory for new array of length sz and fill with entries from src. More... | |
| static void | copy (const T *src, T *dest, int sz) |
Copy array from src to dest of length sz. More... | |
| static void | zero (T *dest, int sz) |
Zero out array dest of length sz. More... | |
| static void | destroy_and_release (T *m, int sz) |
| Destroy array elements and release memory. More... | |
Dynamic array allocation class that is specialized for scalar i.e., fundamental or built-in types (float, double, etc...).
Definition at line 128 of file Stokhos_DynamicArrayTraits.hpp.
|
inlinestatic |
Get memory for new array of length sz and fill with zeros.
Definition at line 131 of file Stokhos_DynamicArrayTraits.hpp.
|
inlinestatic |
Get memory for new array of length sz and fill with entries from src.
Definition at line 141 of file Stokhos_DynamicArrayTraits.hpp.
|
inlinestatic |
Copy array from src to dest of length sz.
Definition at line 149 of file Stokhos_DynamicArrayTraits.hpp.
|
inlinestatic |
Zero out array dest of length sz.
Definition at line 154 of file Stokhos_DynamicArrayTraits.hpp.
|
inlinestatic |
Destroy array elements and release memory.
Definition at line 159 of file Stokhos_DynamicArrayTraits.hpp.
1.8.14