algebramix_doc 0.3
vec_unary_scalar_helper< Op, T, X, 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 X, nat n>
struct mmx::vec_unary_scalar_helper< Op, T, X, n >

Definition at line 72 of file vector_fixed.hpp.


Member Function Documentation

static void op ( T *  dest,
const X &  x 
) [inline, static]

Definition at line 74 of file vector_fixed.hpp.

References vec_unary_scalar_helper< Op, T, X, n >::n1.

                                              {
    vec_unary_scalar_helper <Op, T, X, n1>::op (dest   , x);
    vec_unary_scalar_helper <Op, T, X, n2>::op (dest+n1, x);
  }

Member Data Documentation

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

Definition at line 73 of file vector_fixed.hpp.

Referenced by vec_unary_scalar_helper< Op, T, X, n >::op().

const nat n2 = n-n1

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