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 176 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 182 of file vector_fixed.hpp.

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

00183                                                                         {
00184     (void) fm1; (void) fm2;
00185     vec_binary_big_helper <Op, C1, C2, n1>::_op (r, s1   , s2);
00186     vec_binary_big_helper <Op, C1, C2, n2>::_op (r, s1+n1, s2+n1);
00187   }

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

Definition at line 178 of file vector_fixed.hpp.

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

00178                                                              {
00179     vec_binary_big_helper <Op, C1, C2, n1>::_op (r, s1   , s2);
00180     vec_binary_big_helper <Op, C1, C2, n2>::_op (r, s1+n1, s2+n1);
00181   }

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

Definition at line 194 of file vector_fixed.hpp.

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

00195                                                                      {
00196     C1 r= get_sample (binary_map<Op> (fm1, fm2));
00197     Op::set_neutral (r);
00198     vec_binary_big_helper <Op, C1, C2, n1>::_op (r, s1   , s2);
00199     vec_binary_big_helper <Op, C1, C2, n2>::_op (r, s1+n1, s2+n1);
00200     return r;
00201   }

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

Definition at line 188 of file vector_fixed.hpp.

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

00188                                                    {
00189     C1 r= Op::template neutral<C1> ();
00190     vec_binary_big_helper <Op, C1, C2, n1>::_op (r, s1   , s2);
00191     vec_binary_big_helper <Op, C1, C2, n2>::_op (r, s1+n1, s2+n1);
00192     return r;
00193   }


Member Data Documentation

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

Definition at line 177 of file vector_fixed.hpp.


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

Generated on 6 Dec 2012 for algebramix by  doxygen 1.6.1