Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
Sacado::ss_array< T, isScalar > Struct Template Reference

Static array allocation class that works for any type. More...

#include <Sacado_StaticArrayTraits.hpp>

Static Public Member Functions

static SACADO_INLINE_FUNCTION void copy (const T *src, T *dest, int sz)
 Copy array from src to dest of length sz.
 
static SACADO_INLINE_FUNCTION void zero (T *dest, int sz)
 Zero out array dest of length sz.
 

Detailed Description

template<typename T, bool isScalar = IsScalarType<T>::value>
struct Sacado::ss_array< T, isScalar >

Static array allocation class that works for any type.

Definition at line 43 of file Sacado_StaticArrayTraits.hpp.

Member Function Documentation

◆ copy()

template<typename T , bool isScalar = IsScalarType<T>::value>
static SACADO_INLINE_FUNCTION void Sacado::ss_array< T, isScalar >::copy ( const T * src,
T * dest,
int sz )
inlinestatic

Copy array from src to dest of length sz.

Definition at line 47 of file Sacado_StaticArrayTraits.hpp.

◆ zero()

template<typename T , bool isScalar = IsScalarType<T>::value>
static SACADO_INLINE_FUNCTION void Sacado::ss_array< T, isScalar >::zero ( T * dest,
int sz )
inlinestatic

Zero out array dest of length sz.

Definition at line 54 of file Sacado_StaticArrayTraits.hpp.


The documentation for this struct was generated from the following file: