vec_ternary_scalar_helper< Op, T, C1, C2, X, n > Struct Template Reference

#include <vector_fixed.hpp>

List of all members.

Static Public Member Functions

Static Public Attributes


Detailed Description

template<typename Op, typename T, typename C1, typename C2, typename X, nat n>
struct mmx::vec_ternary_scalar_helper< Op, T, C1, C2, X, n >

Definition at line 105 of file vector_fixed.hpp.


Member Function Documentation

static void op ( T *  dest,
const C1 *  s1,
const C2 *  s2,
const X &  x 
) [inline, static]

Definition at line 107 of file vector_fixed.hpp.

References vec_ternary_scalar_helper< Op, T, C1, C2, X, n >::n1.

00107                                                                           {
00108     vec_ternary_scalar_helper <Op, T, C1, C2, X, n1>
00109       ::op (dest, s1, s2, x);
00110     vec_ternary_scalar_helper <Op, T, C1, C2, X, n2>
00111       ::op (dest+n1, s1+n1, s2+n1, x);
00112   }


Member Data Documentation

const nat n1 = (n>>1) [static]
const nat n2 = n-n1 [static]

Definition at line 106 of file vector_fixed.hpp.


The documentation for this struct was generated from the following file:

Generated on 20 Mar 2013 for algebramix by  doxygen 1.6.1