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

Definition at line 104 of file vector_fixed.hpp.


Member Function Documentation

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

Definition at line 106 of file vector_fixed.hpp.

References vec_unary_test_helper< Op, C, n >::n1.

Referenced by vec_unary_test_helper< Op, C, 1 >::op().

                                     {
    if (!vec_unary_test_helper <Op, C, n1>::op (s)) return false;
    return vec_unary_test_helper <Op, C, n2>::op (s+n1);
  }

Member Data Documentation

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

Definition at line 105 of file vector_fixed.hpp.

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

const nat n2 = n-n1

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