vec_unary_scalar_helper< Op, T, X, n > Struct Template Reference
#include <vector_fixed.hpp>
List of all members.
Static Public Member Functions
- static void op (T *dest, const X &x)
Static Public Attributes
- static const nat n1 = (n>>1)
- static const nat n2 = n-n1
Detailed Description
template<typename Op, typename T, typename X, nat n>
struct mmx::vec_unary_scalar_helper< Op, T, X, n >
Definition at line 72 of file vector_fixed.hpp.
Member Function Documentation
static void op |
( |
T * |
dest, |
|
|
const X & |
x | |
|
) |
| | [inline, static] |
Definition at line 74 of file vector_fixed.hpp.
References vec_unary_scalar_helper< Op, T, X, n >::n1.
00074 {
00075 vec_unary_scalar_helper <Op, T, X, n1>::op (dest , x);
00076 vec_unary_scalar_helper <Op, T, X, n2>::op (dest+n1, x);
00077 }
Member Data Documentation
const nat n1 = (n>>1) [static] |
const nat n2 = n-n1 [static] |
The documentation for this struct was generated from the following file: