vec_binary_scalar_helper< Op, T, C, X, n > Struct Template Reference
#include <vector_fixed.hpp>
List of all members.
Static Public Member Functions
- static void op (T *dest, const C *s, 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 C, typename X, nat n>
struct mmx::vec_binary_scalar_helper< Op, T, C, X, n >
Definition at line 88 of file vector_fixed.hpp.
Member Function Documentation
static void op |
( |
T * |
dest, |
|
|
const C * |
s, |
|
|
const X & |
x | |
|
) |
| | [inline, static] |
Definition at line 90 of file vector_fixed.hpp.
References vec_binary_scalar_helper< Op, T, C, X, n >::n1.
00090 {
00091 vec_binary_scalar_helper <Op, T, C, X, n1>::op (dest , s , x);
00092 vec_binary_scalar_helper <Op, T, C, X, n2>::op (dest+n1, s+n1, x);
00093 }
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: