HomeSort by relevance Sort by last modified time
    Searched refs:numeric_list (Results 1 - 6 of 6) sorted by null

  /external/eigen/unsupported/test/
cxx11_meta.cpp 17 using Eigen::internal::numeric_list;
89 VERIFY((is_same<typename gen_numeric_list<int, 0>::type, numeric_list<int>>::value));
90 VERIFY((is_same<typename gen_numeric_list<int, 1>::type, numeric_list<int, 0>>::value));
91 VERIFY((is_same<typename gen_numeric_list<int, 2>::type, numeric_list<int, 0, 1>>::value));
92 VERIFY((is_same<typename gen_numeric_list<int, 5>::type, numeric_list<int, 0, 1, 2, 3, 4>>::value));
93 VERIFY((is_same<typename gen_numeric_list<int, 10>::type, numeric_list<int, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9>>::value));
95 VERIFY((is_same<typename gen_numeric_list<int, 0, 42>::type, numeric_list<int>>::value));
96 VERIFY((is_same<typename gen_numeric_list<int, 1, 42>::type, numeric_list<int, 42>>::value));
97 VERIFY((is_same<typename gen_numeric_list<int, 2, 42>::type, numeric_list<int, 42, 43>>::value));
98 VERIFY((is_same<typename gen_numeric_list<int, 5, 42>::type, numeric_list<int, 42, 43, 44, 45, 46>>::value))
    [all...]
  /external/eigen/unsupported/Eigen/CXX11/src/util/
CXX11Meta.h 40 struct numeric_list { constexpr static std::size_t count = sizeof...(nn); }; struct in namespace:Eigen::internal
43 struct numeric_list<T, n, nn...> { constexpr static std::size_t count = sizeof...(nn) + 1; constexpr static T first_value = n; }; struct in namespace:Eigen::internal
49 * typename gen_numeric_list<int, 5>::type numeric_list<int, 0,1,2,3,4>
50 * typename gen_numeric_list_reversed<int, 5>::type numeric_list<int, 4,3,2,1,0>
51 * typename gen_numeric_list_swapped_pair<int, 5,1,2>::type numeric_list<int, 0,2,1,3,4>
52 * typename gen_numeric_list_repeated<int, 0, 5>::type numeric_list<int, 0,0,0,0,0>
56 template<typename T, T start, T... ii> struct gen_numeric_list<T, 0, start, ii...> { typedef numeric_list<T, ii...> type; };
59 template<typename T, T start, T... ii> struct gen_numeric_list_reversed<T, 0, start, ii...> { typedef numeric_list<T, ii...> type; };
62 template<typename T, T a, T b, T start, T... ii> struct gen_numeric_list_swapped_pair<T, 0, a, b, start, ii...> { typedef numeric_list<T, ii...> type; };
65 template<typename T, T V, T... nn> struct gen_numeric_list_repeated<T, 0, V, nn...> { typedef numeric_list<T, nn...> type; }
    [all...]
  /external/eigen/unsupported/Eigen/CXX11/src/TensorSymmetry/
StaticSymmetry.h 20 struct tensor_static_symgroup_permutate<numeric_list<int, nn...>>
60 constexpr static inline numeric_list<int, get<iia, iib>::value...> helper(numeric_list<int, iia...>) {
61 return numeric_list<int, get<iia, iib>::value...>();
122 constexpr static inline std::array<Index, N> tensor_static_symgroup_index_permute(std::array<Index, N> idx, internal::numeric_list<int, ii...>, internal::numeric_list<int, jj...>)
128 static inline std::vector<Index> tensor_static_symgroup_index_permute(std::vector<Index> idx, internal::numeric_list<int, ii...>)
DynamicSymmetry.h 91 inline std::array<Index, N> h_permute(std::size_t which, const std::array<Index, N>& idx, internal::numeric_list<int, n...>) const
  /external/eigen/unsupported/Eigen/CXX11/src/Tensor/
TensorMeta.h 173 array<Index, sizeof...(Is)> customIndices2Array(IndexType& idx, numeric_list<Index, Is...>) {
178 array<Index, 0> customIndices2Array(IndexType&, numeric_list<Index>) {
TensorDimensions.h 93 struct Sizes : internal::numeric_list<std::ptrdiff_t, Indices...> {
94 typedef internal::numeric_list<std::ptrdiff_t, Indices...> Base;
378 return get<n, internal::numeric_list<std::size_t, Indices...> >::value;

Completed in 239 milliseconds