|
Stokhos
Development
|
Static array allocation class that works for any type. More...
#include <Stokhos_StaticArrayTraits.hpp>
Public Types | |
| typedef T | value_type |
| typedef N | node_type |
Static Public Member Functions | |
|
static KOKKOSARRAY_INLINE_FUNCTION void | copy (const T *src, T *dest, std::size_t sz) |
Copy array from src to dest of length sz. | |
|
static KOKKOSARRAY_INLINE_FUNCTION void | zero (T *dest, std::size_t sz) |
Zero out array dest of length sz. | |
|
static KOKKOSARRAY_INLINE_FUNCTION void | fill (T *dest, std::size_t sz, const T &v) |
Fill array dest of length sz with value v. | |
Static array allocation class that works for any type.
1.8.5