|
| template<typename DST, typename SRC> |
| void | round_scaled_to_nearest_clipped (DST &destination, const SRC &source, float multiplier, typename traits< DST >::Scalar offset, typename traits< DST >::Scalar minimum, typename traits< DST >::Scalar maximum) |
| | Scale in float, round to nearest-even, offset, and clip.
|
| |
| template<typename DST, typename SRC> |
| void | round_to_nearest (DST &destination, const SRC &source) |
| | Element-wise nearest-even rounding into an existing vector.
|
| |
| template<typename DST, typename SRC> |
| void | round_to_nearest_clipped (DST &destination, const SRC &source, typename traits< DST >::Scalar offset, typename traits< DST >::Scalar minimum, typename traits< DST >::Scalar maximum) |
| | Nearest-even rounding followed by an offset and inclusive clipping.
|
| |
| template<typename DST, typename SRC, typename MASK> |
| void | masked_scale_add (DST &destination, const SRC &source, const MASK &mask, typename traits< DST >::Scalar scale) |
| | Accumulate source * scale into destination where mask is true.
|
| |
| template<typename A, typename B, typename MASK> |
| auto | masked_dot_sum (const A &a, const B &b, const MASK &mask) |
| | Compute a masked dot product and masked sum of the first operand.
|
| |
| template<typename MA, typename MB, typename std::enable_if< HasMatrixIndexing< MA >::value &&HasMatrixIndexing< MB >::value, bool >::type = true> |
| void | transposeTo (MA &dst, const MB &src) |
| | Transpose a matrix.
|
| |
| template<typename M, typename V, typename std::enable_if< CompatibleStaticMatVecProduct< M, V >::value, bool >::type = true> |
| OutputVector< M, V >::type | dot (const M &m, const V &v) |
| | Matrix x Vector product.
|
| |
| template<typename MA, typename MB, typename std::enable_if< CompatibleStaticMatMatProduct< MA, MB >::value &&number_traits< typename traits< MA >::Scalar >::is_fixed, bool >::type = true> |
| OutputMatrix< MA, MB >::type | dot (const MA &ma, const MB &mb) |
| | Matrix x Matrix product.
|
| |
| template<typename MA, typename MB, typename RES, typename std::enable_if< CompatibleDynamicMatMatProduct< MA, MB >::value &&number_traits< typename traits< MA >::Scalar >::is_float, bool >::type = true> |
| void | dot (RES &&res, const MA &ma, const MB &mb) |
| | Matrix x Matrix product.
|
| |
| template<typename P> |
| Matrix< P, DYNAMIC, DYNAMIC, TMP_ALLOC > | mk_identity (const vector_length_t l) |
| | Create identity matrix.
|
| |
| template<typename P, int L> |
| Matrix< P, L, L, TMP_ALLOC > | mk_identity () |
| | Create identity matrix.
|
| |