Home
last modified time | relevance | path

Searched refs:NumDims (Results 1 – 11 of 11) sorted by relevance

/third_party/boost/boost/multi_array/
Dstorage_order.hpp31 template <std::size_t NumDims>
39 boost::detail::multi_array::copy_n(ordering,NumDims,ordering_.begin()); in general_storage_order()
40 boost::detail::multi_array::copy_n(ascending,NumDims,ascending_.begin()); in general_storage_order()
48 for (size_type i=0; i != NumDims; ++i) { in general_storage_order()
49 ordering_[i] = NumDims - 1 - i; in general_storage_order()
55 for (size_type i=0; i != NumDims; ++i) { in general_storage_order()
75 boost::array<size_type,NumDims> ordering_;
76 boost::array<bool,NumDims> ascending_;
86 template <std::size_t NumDims>
87 operator general_storage_order<NumDims>() const { in operator general_storage_order<NumDims>()
[all …]
Dbase.hpp45 template<typename T, std::size_t NumDims,
77 template <typename T, std::size_t NumDims>
80 template <typename T, std::size_t NumDims, typename TPtr = const T*>
83 template <typename T, typename TPtr, typename NumDims, typename Reference,
87 template <typename T, std::size_t NumDims, typename TPtr = const T*>
90 template <typename T, std::size_t NumDims>
113 template<typename T, std::size_t NumDims>
123 typedef boost::multi_array<T,NumDims-1> value_type;
124 typedef sub_array<T,NumDims-1> reference;
125 typedef const_sub_array<T,NumDims-1> const_reference;
[all …]
Dmulti_array_ref.hpp41 template <typename T, std::size_t NumDims,
45 public detail::multi_array::multi_array_impl_base<T,NumDims>
47 typedef detail::multi_array::multi_array_impl_base<T,NumDims> super_type;
58 typedef general_storage_order<NumDims> storage_order_type;
80 const_multi_array_ref(const const_multi_array_ref<T,NumDims,OPtr>& other) in const_multi_array_ref() argument
101 const general_storage_order<NumDims>& so) : in const_multi_array_ref()
112 extent_gen<NumDims>& ranges) : in const_multi_array_ref()
120 extent_gen<NumDims>& ranges, in const_multi_array_ref()
121 const general_storage_order<NumDims>& so) : in const_multi_array_ref()
180 size_type num_dimensions() const { return NumDims; } in num_dimensions()
[all …]
Dview.hpp40 template <typename T, std::size_t NumDims, typename TPtr>
42 public boost::detail::multi_array::multi_array_impl_base<T,NumDims>
44 typedef boost::detail::multi_array::multi_array_impl_base<T,NumDims> super_type;
69 const_multi_array_view<T,NumDims,OPtr>& other) : in const_multi_array_view() argument
98 size_type num_dimensions() const { return NumDims; } in num_dimensions()
141 index_gen<NumDims,NDims>& indices) in operator []()
173 const_multi_array_view<T,NumDims,OPtr>& rhs) in operator ==() argument
184 const_multi_array_view<T,NumDims,OPtr>& rhs) in operator <() argument
191 const_multi_array_view<T,NumDims,OPtr>& rhs) in operator !=() argument
198 const_multi_array_view<T,NumDims,OPtr>& rhs) in operator >() argument
[all …]
Diterator.hpp46 template <typename T, typename TPtr, typename NumDims, typename Reference,
50 template <typename T, typename TPtr, typename NumDims, typename Reference,
55 array_iterator<T,TPtr,NumDims,Reference,IteratorCategory>
56 , typename associated_types<T,NumDims>::value_type
61 value_accessor_generator<T,NumDims>::type
64 typedef detail::multi_array::associated_types<T,NumDims> access_t;
67 array_iterator<T,TPtr,NumDims,Reference,IteratorCategory>
68 , typename detail::multi_array::associated_types<T,NumDims>::value_type
105 const array_iterator<T,OPtr,NumDims,ORef,Cat>& rhs in array_iterator() argument
122 typedef typename value_accessor_generator<T,NumDims>::type accessor; in dereference()
[all …]
Dsubarray.hpp38 template <typename T, std::size_t NumDims, typename TPtr>
40 public boost::detail::multi_array::multi_array_impl_base<T,NumDims>
42 typedef boost::detail::multi_array::multi_array_impl_base<T,NumDims> super_type;
68 const_sub_array (const const_sub_array<T,NumDims,OPtr>& rhs) : in const_sub_array() argument
93 index_gen<NumDims,NDims>& indices) in operator []()
106 bool operator<(const const_sub_array<T,NumDims,OPtr>& rhs) const { in operator <() argument
111 bool operator==(const const_sub_array<T,NumDims,OPtr>& rhs) const { in operator ==() argument
118 bool operator!=(const const_sub_array<T,NumDims,OPtr>& rhs) const { in operator !=() argument
123 bool operator>(const const_sub_array<T,NumDims,OPtr>& rhs) const { in operator >() argument
128 bool operator<=(const const_sub_array<T,NumDims,OPtr>& rhs) const { in operator <=() argument
[all …]
Dindex_gen.hpp28 template <int NumRanges, int NumDims>
53 index_gen<NumRanges+1,NumDims+1>
56 index_gen<NumRanges+1,NumDims+1> tmp; in operator []()
62 index_gen<NumRanges+1,NumDims>
65 index_gen<NumRanges+1,NumDims> tmp; in operator []()
Dconcept_checks.hpp58 template <typename Array, std::size_t NumDims >
71 detail::idgen_helper<NumDims-1>::call(a,idgen[range],id); in constraints()
74 detail::idgen_helper<NumDims-1>::call(a,idgen[range],range); in constraints()
119 template <typename Array, std::size_t NumDims >
136 detail::idgen_helper<NumDims-1>::call(a,idgen[range],id); in constraints()
139 detail::idgen_helper<NumDims-1>::call(a,idgen[range],range); in constraints()
160 detail::idgen_helper<NumDims-1>::call(a,idgen[range],id); in const_constraints()
163 detail::idgen_helper<NumDims-1>::call(a,idgen[range],range); in const_constraints()
/third_party/boost/boost/
Dmulti_array.hpp69 template <typename T, std::size_t NumDims, typename TPtr>
70 char is_multi_array_impl_help(const_multi_array_view<T,NumDims,TPtr>&);
71 template <typename T, std::size_t NumDims, typename TPtr>
72 char is_multi_array_impl_help(const_sub_array<T,NumDims,TPtr>&);
73 template <typename T, std::size_t NumDims, typename TPtr>
74 char is_multi_array_impl_help(const_multi_array_ref<T,NumDims,TPtr>&);
119 template<typename T, std::size_t NumDims,
122 public multi_array_ref<T,NumDims>,
126 typedef multi_array_ref<T,NumDims> super_type;
179 const general_storage_order<NumDims>& so) : in multi_array()
[all …]
/third_party/boost/libs/multi_array/test/
Ddimtest.cpp237 template <int NumRanges, int NumDims>
257 index_gen<NumRanges+1,NumDims+1>
260 index_gen<NumRanges+1,NumDims+1> tmp; in operator []()
266 index_gen<NumRanges+1,NumDims>
269 index_gen<NumRanges+1,NumDims> tmp; in operator []()
Didxgen1.cpp28 template <int NumRanges, int NumDims>
30 index_gen<NumRanges,NumDims>&) { } in check() argument