std::slice_array - cppreference.com

en.cppreference.com/w/cpp/numeric/valarray/slice_array     2023-10-17T00:00:00.0000000
std::slice_array is a helper template used by the valarray subscript operator with std:: slice argument. It has reference semantics to a subset of the array specified by the std:: slice object. Contents

std::slice_array<T>:: slice_array - Reference

en.cppreference.com/w/cpp/numeric/valarray/slice_array/slice_array
slice_array (const slice_array & other ); (2) 1) The default constructor is declared private and not defined (until C++11) explicitly defined as deleted (since C++11) : slice_array is not DefaultConstructible .

std::slice - cppreference.com

en.cppreference.com/w/cpp/numeric/valarray/slice     2024-04-08T00:00:00.0000000
std::slice is the selector class that identifies a subset of std::valarray similar to BLAS slice. An object of type std::slice holds three values: the starting index, the stride, and the total number of values in the subset. Objects of type std::slice can be used as indices with valarray's operator [].

std::valarray - cppreference.com

en.cppreference.com/w/cpp/numeric/valarray     2023-10-04T00:00:00.0000000
Notes. std::valarray and helper classes are defined to be free of certain forms of aliasing, thus allowing operations on these classes to be optimized similar to the effect of the keyword restrict in the C programming language. In addition, functions and operators that take valarray arguments are allowed to return proxy objects to make it possible for the compiler to optimize an expression ...

std::slice_array<T>:: operator= - Reference

en.cppreference.com/w/cpp/numeric/valarray/slice_array/operator=
Defect reports. The following behavior-changing defect reports were applied retroactively to previously published C++ standards.

std::gslice_array - cppreference.com

en.cppreference.com/w/cpp/numeric/valarray/gslice_array     2024-12-21T00:00:00.0000000
gslice_array::operator+= gslice_array::operator-= gslice_array::operator*= gslice_array::operator/= gslice_array::operator%= gslice_array::operator&= gslice_array ...

std::valarray<T>::valarray - cppreference.com

en.cppreference.com/w/cpp/numeric/valarray/valarray     2023-05-06T00:00:00.0000000
pointer to a C array to use as source to initialize the contents other - another numeric array to use as source to initialize the contents sa - slice array to initialize the elements with gsa - generic slice array to initialize the elements with ma - mask array to initialize the elements with ia - indirect array to initialize the elements with il -

std::slice_array<T>:: operator+=,-=,*=,/=,%=,&=,|=,^=,<<=,>>= - Reference

en.cppreference.com/w/cpp/numeric/valarray/slice_array/operator_arith
Applies the corresponding operation to the referred elements and the elements of other.

operator==,!=,<,<=,>,>=(std::valarray) - cppreference.com

en.cppreference.com/w/cpp/numeric/valarray/operator_cmp     2023-10-13T00:00:00.0000000
The function can be implemented with the return type different from std::valarray. In this case, the replacement type has the following properties: All const member functions of std::valarray are provided. std::valarray, std::slice_array, std::gslice_array, std::mask_array and std::indirect_array can be constructed from the replacement type.

std::gslice_array<T>:: ~gslice_array - Reference

en.cppreference.com/w/cpp/numeric/valarray/gslice_array/~gslice_array
Destroys the indices in the array. The elements referred to by the object are not modified.
Feedback