24 #ifndef BZ_TVECGLOBS_H
25 #define BZ_TVECGLOBS_H
27 #ifndef BZ_META_METAPROG_H
28 #include <blitz/meta/metaprog.h>
36 #include <blitz/meta/dot.h>
37 #include <blitz/meta/product.h>
38 #include <blitz/meta/sum.h>
42 template<typename T_numtype1, typename
T_numtype2,
int N_length>
47 return _bz_meta_vectorDot<N_length, 0>::f(a,b);
50 template<
typename T_expr1,
typename T_numtype2,
int N_length>
54 return _bz_meta_vectorDot<N_length, 0>::f_value_ref(a,b);
57 template<
typename T_numtype1,
typename T_expr2,
int N_length>
61 return _bz_meta_vectorDot<N_length, 0>::f_ref_value(a,b);
64 template<
typename T_numtype1,
int N_length>
68 return _bz_meta_vectorProduct<N_length, 0>::f(a);
71 template<
typename T_numtype,
int N_length>
75 return _bz_meta_vectorSum<N_length, 0>::f(a);
80 #endif // BZ_TVECGLOBS_H