vec_binary_big_helper< Op, C1, C2, 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 C1, typename C2, nat n>
struct mmx::vec_binary_big_helper< Op, C1, C2, n >

Definition at line 214 of file vector_fixed.hpp.


Member Function Documentation

static void _op ( C1 &  r,
const C1 *  s1,
const C2 *  s2,
const format< C1 > &  fm1,
const format< C2 > &  fm2 
) [inline, static]

Definition at line 220 of file vector_fixed.hpp.

References vec_binary_big_helper< Op, C1, C2, n >::n1.

00221                                                                         {
00222     (void) fm1; (void) fm2;
00223     vec_binary_big_helper <Op, C1, C2, n1>::_op (r, s1   , s2);
00224     vec_binary_big_helper <Op, C1, C2, n2>::_op (r, s1+n1, s2+n1);
00225   }

static void _op ( C1 &  r,
const C1 *  s1,
const C2 *  s2 
) [inline, static]

Definition at line 216 of file vector_fixed.hpp.

References vec_binary_big_helper< Op, C1, C2, n >::n1.

00216                                                              {
00217     vec_binary_big_helper <Op, C1, C2, n1>::_op (r, s1   , s2);
00218     vec_binary_big_helper <Op, C1, C2, n2>::_op (r, s1+n1, s2+n1);
00219   }

static C1 op ( const C1 *  s1,
const C2 *  s2,
const format< C1 > &  fm1,
const format< C2 > &  fm2 
) [inline, static]

Definition at line 232 of file vector_fixed.hpp.

References vec_binary_big_helper< Op, C1, C2, n >::n1.

00233                                                                      {
00234     C1 r= get_sample (binary_map<Op> (fm1, fm2));
00235     Op::set_neutral (r);
00236     vec_binary_big_helper <Op, C1, C2, n1>::_op (r, s1   , s2);
00237     vec_binary_big_helper <Op, C1, C2, n2>::_op (r, s1+n1, s2+n1);
00238     return r;
00239   }

static C1 op ( const C1 *  s1,
const C2 *  s2 
) [inline, static]

Definition at line 226 of file vector_fixed.hpp.

References vec_binary_big_helper< Op, C1, C2, n >::n1.

00226                                                    {
00227     C1 r= Op::template neutral<C1> ();
00228     vec_binary_big_helper <Op, C1, C2, n1>::_op (r, s1   , s2);
00229     vec_binary_big_helper <Op, C1, C2, n2>::_op (r, s1+n1, s2+n1);
00230     return r;
00231   }


Member Data Documentation

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

Definition at line 215 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