Lines Matching refs:tuple_size
21 utils::int_<std::tuple_size<pS>::value - 1>)
23 for (long i = 0, n = shape[std::tuple_size<pS>::value - 1]; i < n; ++i) {
24 indices[perm[std::tuple_size<pS>::value - 1]] = i;
27 indices[perm[std::tuple_size<pS>::value - 1]] = 0;
33 typename std::enable_if<std::tuple_size<pS>::value - 1 != I,
47 types::ndarray<T, types::array<long, std::tuple_size<pS>::value>>
49 long const l[std::tuple_size<pS>::value]) in _transposer()
52 types::array<long, std::tuple_size<pS>::value> shp; in _transposer()
53 for (unsigned long i = 0; i < std::tuple_size<pS>::value; ++i) in _transposer()
56 types::array<long, std::tuple_size<pS>::value> perm; in _transposer()
57 for (std::size_t i = 0; i < std::tuple_size<pS>::value; ++i) in _transposer()
60 types::ndarray<T, types::array<long, std::tuple_size<pS>::value>> in _transposer()
64 types::array<long, std::tuple_size<pS>::value> indices; in _transposer()
73 (std::tuple_size<pS>::value > 2),
74 types::ndarray<T, types::array<long, std::tuple_size<pS>::value>>>::type
77 long t[std::tuple_size<pS>::value]; in transpose()
78 for (unsigned long i = 0; i < std::tuple_size<pS>::value; ++i) in transpose()
79 t[std::tuple_size<pS>::value - 1 - i] = i; in transpose()
84 types::ndarray<T, types::array<long, std::tuple_size<pS>::value>>
87 static_assert(std::tuple_size<pS>::value == M, "axes don't match array"); in transpose()
90 if (val >= long(std::tuple_size<pS>::value)) in transpose()