Home | History | Annotate | Download | only in Tensor

Lines Matching refs:Index

20   * \brief Special case of tensor index list used to list all the dimensions of a tensor of rank n.
25 template <typename Index, std::size_t Rank> struct DimensionList {
27 const Index operator[] (const Index i) const { return i; }
32 template<typename Index, std::size_t Rank> struct array_size<DimensionList<Index, Rank> > {
35 template<typename Index, std::size_t Rank> struct array_size<const DimensionList<Index, Rank> > {
39 template<DenseIndex n, typename Index, std::size_t Rank> const Index array_get(DimensionList<Index, Rank>&) {
42 template<DenseIndex n, typename Index, std::size_t Rank> const Index array_get(const DimensionList<Index, Rank>&) {
48 template <typename Index, std::size_t Rank>
49 struct index_known_statically_impl<DimensionList<Index, Rank> > {
54 template <typename Index, std::size_t Rank>
55 struct index_known_statically_impl<const DimensionList<Index, Rank> > {
61 template <typename Index, std::size_t Rank>
62 struct all_indices_known_statically_impl<DimensionList<Index, Rank> > {
67 template <typename Index, std::size_t Rank>
68 struct all_indices_known_statically_impl<const DimensionList<Index, Rank> > {
74 template <typename Index, std::size_t Rank>
75 struct indices_statically_known_to_increase_impl<DimensionList<Index, Rank> > {
80 template <typename Index, std::size_t Rank>
81 struct indices_statically_known_to_increase_impl<const DimensionList<Index, Rank> > {
87 template <typename Index, std::size_t Rank>
88 struct index_statically_eq_impl<DimensionList<Index, Rank> > {
93 template <typename Index, std::size_t Rank>
94 struct index_statically_eq_impl<const DimensionList<Index, Rank> > {
100 template <typename Index, std::size_t Rank>
101 struct index_statically_ne_impl<DimensionList<Index, Rank> > {
106 template <typename Index, std::size_t Rank>
107 struct index_statically_ne_impl<const DimensionList<Index, Rank> > {
113 template <typename Index, std::size_t Rank>
114 struct index_statically_gt_impl<DimensionList<Index, Rank> > {
119 template <typename Index, std::size_t Rank>
120 struct index_statically_gt_impl<const DimensionList<Index, Rank> > {
126 template <typename Index, std::size_t Rank>
127 struct index_statically_lt_impl<DimensionList<Index, Rank> > {
132 template <typename Index, std::size_t Rank>
133 struct index_statically_lt_impl<const DimensionList<Index, Rank> > {
140 template <typename Index, std::size_t Rank>
141 struct index_known_statically_impl<DimensionList<Index, Rank> > {
146 template <typename Index, std::size_t Rank>
147 struct index_known_statically_impl<const DimensionList<Index, Rank> > {
153 template <typename Index, std::size_t Rank>
154 struct all_indices_known_statically_impl<DimensionList<Index, Rank> > {
159 template <typename Index, std::size_t Rank>
160 struct all_indices_known_statically_impl<const DimensionList<Index, Rank> > {
166 template <typename Index, std::size_t Rank>
167 struct indices_statically_known_to_increase_impl<DimensionList<Index, Rank> > {
172 template <typename Index, std::size_t Rank>
173 struct indices_statically_known_to_increase_impl<const DimensionList<Index, Rank> > {
179 template <typename Index, std::size_t Rank>
180 struct index_statically_eq_impl<DimensionList<Index, Rank> > {
185 template <typename Index, std::size_t Rank>
186 struct index_statically_eq_impl<const DimensionList<Index, Rank> > {
192 template <typename Index, std::size_t Rank>
193 struct index_statically_ne_impl<DimensionList<Index, Rank> > {
198 template <typename Index, std::size_t Rank>
199 struct index_statically_ne_impl<const DimensionList<Index, Rank> > {
205 template <typename Index, std::size_t Rank>
206 struct index_statically_gt_impl<DimensionList<Index, Rank> > {
211 template <typename Index, std::size_t Rank>
212 struct index_statically_gt_impl<const DimensionList<Index, Rank> > {
218 template <typename Index, std::size_t Rank>
219 struct index_statically_lt_impl<DimensionList<Index, Rank> > {
224 template <typename Index, std::size_t Rank>
225 struct index_statically_lt_impl<const DimensionList<Index, Rank> > {