vec_unary_helper< Op, T, C, 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 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().

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


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 [static]

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