For example, if an indirect_array is obtained using the array (4,2,0) as an argument, and then assigned to an array containing (1,2,3), then the underlying array will have array[0]==3, array[2]==2, and array[4]==1.
Tp | Element type. |
Definition at line 61 of file indirect_array.h.
|
Copy constructor. Both slices refer to the same underlying array.
|
|
Logical and slice elements with corresponding elements of v.
Definition at line 199 of file indirect_array.h. |
|
Multiply slice elements by corresponding elements of v.
Definition at line 193 of file indirect_array.h. |
|
Modulo slice elements by corresponding elements of v.
Definition at line 195 of file indirect_array.h. |
|
Add corresponding elements of v to slice elements.
Definition at line 196 of file indirect_array.h. |
|
Subtract corresponding elements of v from slice elements.
Definition at line 197 of file indirect_array.h. |
|
Divide slice elements by corresponding elements of v.
Definition at line 194 of file indirect_array.h. |
|
Left shift slice elements by corresponding elements of v.
Definition at line 201 of file indirect_array.h. |
|
Assign all slice elements to t.
Definition at line 162 of file indirect_array.h. References std::__valarray_fill(). |
|
Assign slice elements to corresponding elements of v.
Definition at line 167 of file indirect_array.h. References std::__valarray_copy(). |
|
of a.
|
|
Right shift slice elements by corresponding elements of v.
Definition at line 202 of file indirect_array.h. |
|
Logical xor slice elements with corresponding elements of v.
Definition at line 198 of file indirect_array.h. |
|
Logical or slice elements with corresponding elements of v.
Definition at line 200 of file indirect_array.h. |