Home | History | Annotate | Download | only in bits

Lines Matching defs:slice

50    *  The slice class represents a one-dimensional subset of an array,
57 * For example, with an array of size 10, and a slice with offset 1, size 3
60 class slice
63 /// Construct an empty slice.
64 slice();
67 * @brief Construct a slice.
70 * @param d Number of elements in slice.
73 slice(size_t, size_t, size_t);
75 /// Return array offset of first slice element.
77 /// Return size of slice.
79 /// Return array stride of slice.
89 // 543. valarray slice default constructor
91 slice::slice()
95 slice::slice(size_t __o, size_t __d, size_t __s)
99 slice::start() const
103 slice::size() const
107 slice::stride() const
114 * specified by a slice. The way to get a slice_array is to call
115 * operator[](slice) on a valarray. The returned slice_array then permits
135 /// Assignment operator. Assigns slice elements to corresponding
139 /// Assign slice elements to corresponding elements of @a v.
141 /// Multiply slice elements by corresponding elements of @a v.
143 /// Divide slice elements by corresponding elements of @a v.
145 /// Modulo slice elements by corresponding elements of @a v.
147 /// Add corresponding elements of @a v to slice elements.
149 /// Subtract corresponding elements of @a v from slice elements.
151 /// Logical xor slice elements with corresponding elements of @a v.
153 /// Logical and slice elements with corresponding elements of @a v.
155 /// Logical or slice elements with corresponding elements of @a v.
157 /// Left shift slice elements by corresponding elements of @a v.
159 /// Right shift slice elements by corresponding elements of @a v.
161 /// Assign all slice elements to @a t.
190 slice_array(_Array<_Tp>, const slice&);
202 slice_array<_Tp>::slice_array(_Array<_Tp> __a, const slice& __s)