algebramix_doc 0.3
vec_binary_big_helper< Op, C1, C2, n > Struct Template Reference

#include <vector_fixed.hpp>

List of all members.

Static Public Member Functions

Public Attributes

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 
) [inline, static]

Definition at line 178 of file vector_fixed.hpp.

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

                                                             {
    vec_binary_big_helper <Op, C1, C2, n1>::_op (r, s1   , s2);
    vec_binary_big_helper <Op, C1, C2, n2>::_op (r, s1+n1, s2+n1);
  }
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.

                                                                        {
    (void) fm1; (void) fm2;
    vec_binary_big_helper <Op, C1, C2, n1>::_op (r, s1   , s2);
    vec_binary_big_helper <Op, C1, C2, n2>::_op (r, s1+n1, s2+n1);
  }
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.

                                                   {
    C1 r= Op::template neutral<C1> ();
    vec_binary_big_helper <Op, C1, C2, n1>::_op (r, s1   , s2);
    vec_binary_big_helper <Op, C1, C2, n2>::_op (r, s1+n1, s2+n1);
    return r;
  }
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.

                                                                     {
    C1 r= get_sample (binary_map<Op> (fm1, fm2));
    Op::set_neutral (r);
    vec_binary_big_helper <Op, C1, C2, n1>::_op (r, s1   , s2);
    vec_binary_big_helper <Op, C1, C2, n2>::_op (r, s1+n1, s2+n1);
    return r;
  }

Member Data Documentation

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

Definition at line 177 of file vector_fixed.hpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines