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

Definition at line 136 of file vector_fixed.hpp.


Member Function Documentation

static bool op ( const C s,
const X &  x 
) [inline, static]

Definition at line 138 of file vector_fixed.hpp.

References vec_binary_test_scalar_helper< Op, C, X, n >::n1.

                                                 {
    return vec_binary_test_scalar_helper <Op, C, X, n1>::op (s   , x)
        && vec_binary_test_scalar_helper <Op, C, X, n2>::op (s+n1, x);
  }

Member Data Documentation

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

Definition at line 137 of file vector_fixed.hpp.

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

const nat n2 = n-n1

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