Functions | |
template<typename T , typename DST , typename std::enable_if< IsVector< DST >::value &&SameElementType< DST, T >::value, bool >::type = true> | |
void | _Fill (DST &v, const T val, vector_length_t l, const Scalar *=nullptr) |
Fill evaluator for scalar architecture. | |
template<typename T , typename DST , typename std::enable_if< 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 Scalar *=nullptr) |
Fill2D evaluator for scalar architecture. | |
template<typename DA , typename DB , typename std::enable_if< vector_idx_pair< DA, DB >(), bool >::type = true> | |
void | eval (DA &v, const DB &other, const vector_length_t l, const Scalar *=nullptr) |
Expression evaluator for vector in scalar mode. | |
template<typename DA , typename DB , typename std::enable_if< 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 Scalar *=nullptr) |
2D expression evaluator for scalar archiecture | |
template<typename DA , typename DB , typename std::enable_if< vector_idx_pair< DA, DB >(), bool >::type = true> | |
DotResult< DA > | _dot (const DA &a, const DB &b, const vector_length_t l, const Scalar *=nullptr) |
Dot product evaluator for scalar architectuire. | |
template<typename DA , typename DB , typename std::enable_if< vector_idx_pair< DA, DB >(), bool >::type = true> | |
void | _swap (DA &&a, DB &&b, const vector_length_t l, const Scalar *=nullptr) |
Swap evaluator for scalar architecture. | |
template<typename MA , typename MB > | |
__STATIC_INLINE void | _arm_mat_trans (const MA &src, MB &dst, const Scalar *=nullptr) |
Transposition for scalar architecture. | |
template<typename M , typename V , typename RES > | |
void | _dot_m_v (RES &res, const M &m, const V &v, const Scalar *=nullptr) |
Matrix times vector for scalar architecture. | |
template<typename MA , typename MB , typename RES , typename TMP , typename std::enable_if< number_traits< typename traits< MA >::Scalar >::is_fixed, bool >::type = true> | |
__STATIC_INLINE void | _dot_m_m (const MA &pSrcA, const MB &pSrcB, RES &&pDst, const TMP &BT, const Scalar *=nullptr) |
Matrix times matrix for scalar architecture and fixed point. | |
template<typename MA , typename MB , typename RES , typename std::enable_if< number_traits< typename traits< MA >::Scalar >::is_float, bool >::type = true> | |
__STATIC_INLINE void | _dot_m_m (const MA &pSrcA, const MB &pSrcB, RES &&pDst, const Scalar *=nullptr) |
Matrix times matrix for scalar architecture and float. | |
__STATIC_INLINE void _arm_mat_trans | ( | const MA & | src, |
MB & | dst, | ||
const Scalar * | = nullptr |
||
) |
Transposition for scalar architecture.
[in] | src | The source |
dst | The destination |
MA | Source datatype |
MB | Destination datatype |
|
inline |
Dot product evaluator for scalar architectuire.
[in] | a | Left hand side |
[in] | b | Right hand side |
[in] | l | Vector lenght |
DA | Left hand side datatype (may be expression) |
DB | Right hand side datatype (may be expression) |
<unnamed> | Check vector expressions are compatible |
__STATIC_INLINE void _dot_m_m | ( | const MA & | pSrcA, |
const MB & | pSrcB, | ||
RES && | pDst, | ||
const Scalar * | = nullptr |
||
) |
Matrix times matrix for scalar architecture and float.
[in] | pSrcA | The source a |
[in] | pSrcB | The source b |
pDst | The destination |
MA | Left hand side datatype |
MB | Right hand side datatype |
RES | Result datatype |
<unnamed> | Check if float |
__STATIC_INLINE void _dot_m_m | ( | const MA & | pSrcA, |
const MB & | pSrcB, | ||
RES && | pDst, | ||
const TMP & | BT, | ||
const Scalar * | = nullptr |
||
) |
Matrix times matrix for scalar architecture and fixed point.
[in] | pSrcA | The source a |
[in] | pSrcB | The source b |
pDst | The destination | |
[in] | BT | Temporary matrix for transposition |
MA | Left hand side datatype |
MB | Right hand side datatype |
RES | Destination datatype |
TMP | Temporary matrix datatype |
<unnamed> | Check fixed point arithmetic used |
|
inline |
Matrix times vector for scalar architecture.
res | Destination | |
[in] | m | Matrix |
[in] | v | Vector (my be expression) |
M | Matrix datatype |
V | Vector datatype |
RES | Result datatype |
|
inline |
Fill evaluator for scalar architecture.
v | Destination vector | |
[in] | val | Initialization value |
[in] | l | Length of vector |
T | Scalar datatype |
DST | VEctor / Matrix datatype |
<unnamed> | Test to restrict to vector addressing and compatible datatype |
|
inline |
Fill2D evaluator for scalar architecture.
v | Matrix value | |
[in] | val | Initialization value |
[in] | rows | Number of rows |
[in] | cols | Number of columns |
T | Scalar datatype |
DST | Matrix datatype |
<unnamed> | Check DST has matrix indexing only |
|
inline |
Swap evaluator for scalar architecture.
a | Left hand side | |
b | Right hand side | |
[in] | l | Vector length |
DA | Left hand side datatype |
DB | Right hand side datatype |
<unnamed> | Check vectors are compatible |
|
inline |
Expression evaluator for vector in scalar mode.
v | Vector | |
[in] | other | Expression |
[in] | l | Length of expression (number of samples) |
DA | Destination datatype |
DB | Source datatype |
<unnamed> | Check vectors are compatible |
|
inline |
2D expression evaluator for scalar archiecture
v | Destination value | |
[in] | other | The expression |
[in] | rows | Number of rows |
[in] | cols | Number of columns |
DA | Destination datatype |
DB | Source datatype |
<unnamed> | Check only support matrix indexing |