Home | History | Annotate | Download | only in bits

Lines Matching defs:slice

48    *  The slice class represents a one-dimensional subset of an array,
55 * For example, with an array of size 10, and a slice with offset 1, size 3
58 class slice
61 /// Construct an empty slice.
62 slice();
65 * @brief Construct a slice.
68 * @param d Number of elements in slice.
71 slice(size_t, size_t, size_t);
73 /// Return array offset of first slice element.
75 /// Return size of slice.
77 /// Return array stride of slice.
87 // 543. valarray slice default constructor
89 slice::slice()
93 slice::slice(size_t __o, size_t __d, size_t __s)
97 slice::start() const
101 slice::size() const
105 slice::stride() const
112 * specified by a slice. The way to get a slice_array is to call
113 * operator[](slice) on a valarray. The returned slice_array then permits
133 /// Assignment operator. Assigns slice elements to corresponding
137 /// Assign slice elements to corresponding elements of @a v.
139 /// Multiply slice elements by corresponding elements of @a v.
141 /// Divide slice elements by corresponding elements of @a v.
143 /// Modulo slice elements by corresponding elements of @a v.
145 /// Add corresponding elements of @a v to slice elements.
147 /// Subtract corresponding elements of @a v from slice elements.
149 /// Logical xor slice elements with corresponding elements of @a v.
151 /// Logical and slice elements with corresponding elements of @a v.
153 /// Logical or slice elements with corresponding elements of @a v.
155 /// Left shift slice elements by corresponding elements of @a v.
157 /// Right shift slice elements by corresponding elements of @a v.
159 /// Assign all slice elements to @a t.
188 slice_array(_Array<_Tp>, const slice&);
200 slice_array<_Tp>::slice_array(_Array<_Tp> __a, const slice& __s)