CMSIS-DSP  
CMSIS DSP Software Library
 
Loading...
Searching...
No Matches

Functions

template<typename T , typename DST , typename std::enable_if< has_vector_inst< DST >() &&IsVector< DST >::value &&SameElementType< DST, T >::value, bool >::type = true>
void _Fill (DST &v, const T val, const vector_length_t l, const Helium *=nullptr)
 Fill evaluator for Helium.
 
template<typename T , typename DST , typename std::enable_if< has_vector_inst< DST >() &&must_use_matrix_idx< DST >() &&SameElementType< DST, T >::value, bool >::type = true>
void _Fill2D (DST &v, const T val, const vector_length_t rows, const vector_length_t cols, const Helium *=nullptr)
 Fill2D evaluator for Helium.
 
template<typename DA , typename DB , typename std::enable_if< has_vector_inst< DA >() &&vector_idx_pair< DA, DB >(), bool >::type = true>
void eval (DA &v, const DB &other, const vector_length_t l, const Helium *=nullptr)
 Eval function for Helium.
 
template<typename DA , typename DB , typename std::enable_if< has_vector_inst< DA >() &&must_use_matrix_idx_pair< DA, DB >(), bool >::type = true>
void eval2D (DA &v, const DB &other, const vector_length_t rows, const vector_length_t cols, const Helium *=nullptr)
 Eval2D function for Helium.
 
template<class TupType , size_t... I>
void printt (const TupType &_tup, std::index_sequence< I... >)
 Print tuple for debug.
 
template<class... T>
void printt (const std::tuple< T... > &_tup)
 Print tuple.
 
template<typename DA , typename DB , typename std::enable_if< has_vector_inst< DA >() &&vector_idx_pair< DA, DB >(), bool >::type = true>
DotResult< DA > _dot (const DA &a, const DB &b, const vector_length_t l, const Helium *=nullptr)
 Dor product for Helium.
 
template<typename DA , typename DB , typename std::enable_if< has_vector_inst< DA >() &&vector_idx_pair< DA, DB >(), bool >::type = true>
void _swap (DA &&a, DB &&b, const vector_length_t l, const Helium *=nullptr)
 Swap operator for Helium.
 

Description

Function Documentation

◆ _dot()

DotResult< DA > _dot ( const DA &  a,
const DB &  b,
const vector_length_t  l,
const Helium *  = nullptr 
)
inline

Dor product for Helium.

Parameters
[in]aFirst expression
[in]bSecond expression
[in]lVector length
Template Parameters
DAFirst operand datatype
DBSecond operand datatype
<unnamed>Check vector indexing and compatible vectors
Returns
Dot product of vector expressions

◆ _Fill()

void _Fill ( DST &  v,
const T  val,
const vector_length_t  l,
const Helium *  = nullptr 
)
inline

Fill evaluator for Helium.

Parameters
vDestination value
[in]valInitialization value
[in]lVector length
Template Parameters
TScalar datatype
DSTDestination datatype
<unnamed>Check if has vector indexing

◆ _Fill2D()

void _Fill2D ( DST &  v,
const T  val,
const vector_length_t  rows,
const vector_length_t  cols,
const Helium *  = nullptr 
)
inline

Fill2D evaluator for Helium.

Parameters
vDestination value
[in]valInitialization value
[in]rowsNumber of rows
[in]colsNumber of columns
Template Parameters
TScalar datatype
DSTDestination datatype
<unnamed>Check only matrix indexing supported

◆ _swap()

void _swap ( DA &&  a,
DB &&  b,
const vector_length_t  l,
const Helium *  = nullptr 
)
inline

Swap operator for Helium.

Parameters
aFirst opetand
bSecond operand
[in]lVector length
Template Parameters
DAFirst operand datatype
DBSecond operand datatype
<unnamed>Check vector indexing and compatible vectors

◆ eval()

void eval ( DA &  v,
const DB &  other,
const vector_length_t  l,
const Helium *  = nullptr 
)
inline

Eval function for Helium.

Parameters
vDestination
[in]otherExpression to evaluate
[in]lVector length
Template Parameters
DADestination datatype
DBExpression datatype
<unnamed>Check vector indexing and compatible vectors

◆ eval2D()

void eval2D ( DA &  v,
const DB &  other,
const vector_length_t  rows,
const vector_length_t  cols,
const Helium *  = nullptr 
)
inline

Eval2D function for Helium.

Parameters
vDestination vector
[in]otherExpression to evaluate
[in]rowsNumber of rows
[in]colsNumber of columns
Template Parameters
DADestination datatype
DBSource datatype
<unnamed>Check has only matrix indexing

◆ printt() [1/2]

void printt ( const std::tuple< T... > &  _tup)

Print tuple.

Parameters
[in]_tupTuple
Template Parameters
TDatatype for tuple elements

◆ printt() [2/2]

void printt ( const TupType &  _tup,
std::index_sequence< I... >   
)

Print tuple for debug.

Parameters
[in]_tupTuple
Template Parameters
TupTypeTuple datatype
IList of tuple indexes