algebramix_doc 0.3
vec_unary_helper< Op, T, C, 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 T, typename C, nat n>
struct mmx::vec_unary_helper< Op, T, C, n >

Definition at line 40 of file vector_fixed.hpp.


Member Function Documentation

static void op ( T *  dest,
const C s 
) [inline, static]

Definition at line 42 of file vector_fixed.hpp.

References vec_unary_helper< Op, T, C, n >::n1.

Referenced by vec_unary_helper< neg_op, modular< modulus< C, V >, W >, modular< modulus< C, V >, W >, n >::op().

                                              {
    vec_unary_helper <Op, T, C, n1>::op (dest   , s   );
    vec_unary_helper <Op, T, C, n2>::op (dest+n1, s+n1);
  }

Member Data Documentation

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

Definition at line 41 of file vector_fixed.hpp.

Referenced by vec_unary_helper< Op, T, C, n >::op().

const nat n2 = n-n1

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