|
|
| Span ()=default |
| | Constructs an empty view.
|
| constexpr __host__ __device__ | Span (const ArrayView< value_type > &from) noexcept |
| | Copy constructor from another view.
|
| template<typename X, typename = std::enable_if_t<std::is_same_v<X, value_type>>> |
| constexpr __host__ __device__ | Span (const ConstArrayView< X > &from) noexcept |
| template<typename X, Int64 XExtent, typename = std::enable_if_t<std::is_same_v<const X, T>>> |
| constexpr __host__ __device__ | Span (const Span< X, XExtent > &from) noexcept |
| template<typename X, Int32 XExtent, typename = std::enable_if_t<std::is_same_v<const X, T>>> |
| constexpr __host__ __device__ | Span (const SmallSpan< X, XExtent > &from) noexcept |
| template<Int64 XExtent> |
| constexpr __host__ __device__ | Span (const SpanImpl< T, Int64, XExtent > &from) noexcept |
| template<Int32 XExtent> |
| constexpr __host__ __device__ | Span (const SpanImpl< T, Int32, XExtent > &from) noexcept |
| constexpr __host__ __device__ | Span (pointer ptr, Int64 asize) noexcept |
| template<std::size_t N, typename X, typename = is_same_const_type<X>> |
| constexpr __host__ __device__ | Span (std::array< X, N > &from) noexcept |
| | Constructs a view from a std::array.
|
| constexpr __host__ __device__ | Span (T *ptr) |
| | Constructs a view from a pointer with a fixed size.
|
| template<std::size_t N, typename X, typename = is_same_const_type<X>> |
| constexpr __host__ __device__ ThatClass & | operator= (std::array< X, N > &from) noexcept |
| | Copy assignment operator.
|
| constexpr __host__ __device__ Span< T, DynExtent > | subspan (Int64 abegin, Int64 asize) const |
| | Sub-view starting from element abegin and containing asize elements.
|
| constexpr __host__ __device__ Span< T, DynExtent > | subSpan (Int64 abegin, Int64 asize) const |
| | Sub-view starting from element abegin and containing asize elements.
|
| constexpr __host__ __device__ Span< T, DynExtent > | subPart (Int64 abegin, Int64 asize) const |
| | Sub-view starting from element abegin and containing asize elements.
|
| constexpr __host__ __device__ Span< T, DynExtent > | subSpanInterval (Int64 index, Int64 nb_interval) const |
| | Sub-view corresponding to the interval index over nb_interval.
|
| constexpr __host__ __device__ Span< T, DynExtent > | subPartInterval (Int64 index, Int64 nb_interval) const |
| | Sub-view corresponding to the interval index over nb_interval.
|
| constexpr __host__ __device__ Span< T > | subView (Int64 abegin, Int64 asize) const |
| | Sub-view starting from element abegin and containing asize elements.
|
| constexpr __host__ __device__ Span< T > | subViewInterval (Int64 index, Int64 nb_interval) const |
| | Sub-view corresponding to the interval index over nb_interval.
|
| constexpr __host__ __device__ | SpanImpl () noexcept |
| | Constructs an empty view.
|
| constexpr __host__ __device__ | SpanImpl (const SpanImpl< X, Int64, XExtent > &from) noexcept |
| | Copy constructor from another view.
|
| constexpr __host__ __device__ | SpanImpl (const SpanImpl< T, Int64, XExtent > &from) noexcept |
| constexpr __host__ __device__ | SpanImpl (pointer ptr, Int64 asize) noexcept |
| constexpr __host__ __device__ | SpanImpl (std::array< X, N > &from) |
| | Constructs a view from a std::array.
|
| constexpr __host__ __device__ | SpanImpl (T *ptr) |
| | Constructs a view from a pointer with a fixed size.
|
| constexpr __host__ __device__ ThatClass & | operator= (std::array< X, N > &from) |
| | Copy assignment operator.
|
| constexpr __host__ __device__ reference | operator[] (Int64 i) const |
| | i-th element of the array.
|
| constexpr __host__ __device__ reference | operator() (Int64 i) const |
| | i-th element of the array.
|
| constexpr __host__ __device__ reference | item (Int64 i) const |
| | i-th element of the array.
|
| constexpr __host__ __device__ void | setItem (Int64 i, const_reference v) noexcept |
| | Sets the i-th element of the array.
|
| constexpr __host__ __device__ Int64 | size () const noexcept |
| | Returns the size of the array.
|
| constexpr __host__ __device__ Int64 | sizeBytes () const noexcept |
| | Returns the size of the array in bytes.
|
| constexpr __host__ __device__ Int64 | length () const noexcept |
| | Number of elements in the array.
|
| constexpr __host__ __device__ iterator | begin () const noexcept |
| | Iterator for the first element of the array.
|
| constexpr __host__ __device__ iterator | end () const noexcept |
| | Iterator for the element after the end of the array.
|
| constexpr __host__ __device__ reverse_iterator | rbegin () const noexcept |
| | Reverse iterator for the first element of the array.
|
| constexpr __host__ __device__ reverse_iterator | rend () const noexcept |
| | Reverse iterator for the element after the end of the array.
|
| ArrayRange< pointer > | range () const |
| | Iteration range from the first to the last element.
|
| constexpr __host__ __device__ pointer | ptrAt (Int64 index) const |
| | Address of the index-th element.
|
| constexpr __host__ __device__ reference | at (Int64 i) const |
| constexpr __host__ __device__ void | setAt (Int64 i, const_reference value) |
| __host__ __device__ void | fill (T o) |
| | Fills the array with the value o.
|
| constexpr view_type | smallView () |
| | Constant view of this view.
|
| constexpr ConstArrayView< value_type > | constSmallView () const |
| | Constant view of this view.
|
| constexpr __host__ __device__ SubSpanType | subSpan (Int64 abegin, Int64 asize) const |
| | Sub-view starting from element abegin and containing asize elements.
|
| constexpr __host__ __device__ SubSpanType | subPart (Int64 abegin, Int64 asize) const |
| | Sub-view starting from element abegin and containing asize elements.
|
| constexpr SubSpanType | subView (Int64 abegin, Int64 asize) const |
| | Sub-view starting from element abegin and containing asize elements.
|
| constexpr __host__ __device__ SubSpanType | subspan (Int64 abegin, Int64 asize) const |
| | For C++20 compatibility.
|
| constexpr SubSpanType | subViewInterval (Int64 index, Int64 nb_interval) const |
| | Sub-view corresponding to the interval index over nb_interval.
|
| constexpr SubSpanType | subSpanInterval (Int64 index, Int64 nb_interval) const |
| | Sub-view corresponding to the interval index over nb_interval.
|
| constexpr SubSpanType | subPartInterval (Int64 index, Int64 nb_interval) const |
| | Sub-view corresponding to the interval index over nb_interval.
|
| __host__ __device__ void | copy (const U ©_array) |
| | Copies the array copy_array into the instance.
|
| constexpr __host__ __device__ bool | empty () const noexcept |
| | Returns true if the array is empty (zero dimension).
|
| __host__ __device__ bool | contains (const_reference v) const |
| | Returns true if the array contains the element with value v.
|
| std::optional< Int64 > | findFirst (const_reference v) const |
| constexpr __host__ __device__ void | setArray (const ArrayView< T > &v) noexcept |
| constexpr __host__ __device__ void | setArray (const Span< T > &v) noexcept |
| constexpr __host__ __device__ pointer | data () const noexcept |
| | Pointer to the start of the view.
|
| constexpr __host__ __device__ | SpanImpl () noexcept |
| | Constructs an empty view.
|
| constexpr __host__ __device__ | SpanImpl (const SpanImpl< X, Int64, XExtent > &from) noexcept |
| | Copy constructor from another view.
|
| constexpr __host__ __device__ | SpanImpl (const SpanImpl< T, Int64, XExtent > &from) noexcept |
| constexpr __host__ __device__ | SpanImpl (pointer ptr, Int64 asize) noexcept |
| constexpr __host__ __device__ | SpanImpl (std::array< X, N > &from) |
| | Constructs a view from a std::array.
|
| constexpr __host__ __device__ | SpanImpl (T *ptr) |
| | Constructs a view from a pointer with a fixed size.
|
| constexpr __host__ __device__ ThatClass & | operator= (std::array< X, N > &from) |
| | Copy assignment operator.
|
| constexpr __host__ __device__ reference | operator[] (Int64 i) const |
| | i-th element of the array.
|
| constexpr __host__ __device__ reference | operator() (Int64 i) const |
| | i-th element of the array.
|
| constexpr __host__ __device__ reference | item (Int64 i) const |
| | i-th element of the array.
|
| constexpr __host__ __device__ void | setItem (Int64 i, const_reference v) noexcept |
| | Sets the i-th element of the array.
|
| constexpr __host__ __device__ Int64 | size () const noexcept |
| | Returns the size of the array.
|
| constexpr __host__ __device__ Int64 | sizeBytes () const noexcept |
| | Returns the size of the array in bytes.
|
| constexpr __host__ __device__ Int64 | length () const noexcept |
| | Number of elements in the array.
|
| constexpr __host__ __device__ iterator | begin () const noexcept |
| | Iterator for the first element of the array.
|
| constexpr __host__ __device__ iterator | end () const noexcept |
| | Iterator for the element after the end of the array.
|
| constexpr __host__ __device__ reverse_iterator | rbegin () const noexcept |
| | Reverse iterator for the first element of the array.
|
| constexpr __host__ __device__ reverse_iterator | rend () const noexcept |
| | Reverse iterator for the element after the end of the array.
|
| ArrayRange< pointer > | range () const |
| | Iteration range from the first to the last element.
|
| constexpr __host__ __device__ pointer | ptrAt (Int64 index) const |
| | Address of the index-th element.
|
| constexpr __host__ __device__ reference | at (Int64 i) const |
| constexpr __host__ __device__ void | setAt (Int64 i, const_reference value) |
| __host__ __device__ void | fill (T o) |
| | Fills the array with the value o.
|
| constexpr view_type | smallView () |
| | Constant view of this view.
|
| constexpr ConstArrayView< value_type > | constSmallView () const |
| | Constant view of this view.
|
| constexpr __host__ __device__ SubSpanType | subSpan (Int64 abegin, Int64 asize) const |
| | Sub-view starting from element abegin and containing asize elements.
|
| constexpr __host__ __device__ SubSpanType | subPart (Int64 abegin, Int64 asize) const |
| | Sub-view starting from element abegin and containing asize elements.
|
| constexpr SubSpanType | subView (Int64 abegin, Int64 asize) const |
| | Sub-view starting from element abegin and containing asize elements.
|
| constexpr __host__ __device__ SubSpanType | subspan (Int64 abegin, Int64 asize) const |
| | For C++20 compatibility.
|
| constexpr SubSpanType | subViewInterval (Int64 index, Int64 nb_interval) const |
| | Sub-view corresponding to the interval index over nb_interval.
|
| constexpr SubSpanType | subSpanInterval (Int64 index, Int64 nb_interval) const |
| | Sub-view corresponding to the interval index over nb_interval.
|
| constexpr SubSpanType | subPartInterval (Int64 index, Int64 nb_interval) const |
| | Sub-view corresponding to the interval index over nb_interval.
|
| __host__ __device__ void | copy (const U ©_array) |
| | Copies the array copy_array into the instance.
|
| constexpr __host__ __device__ bool | empty () const noexcept |
| | Returns true if the array is empty (zero dimension).
|
| __host__ __device__ bool | contains (const_reference v) const |
| | Returns true if the array contains the element with value v.
|
| std::optional< Int64 > | findFirst (const_reference v) const |
| constexpr __host__ __device__ void | setArray (const ArrayView< T > &v) noexcept |
| constexpr __host__ __device__ void | setArray (const Span< T > &v) noexcept |
| constexpr __host__ __device__ pointer | data () const noexcept |
| | Pointer to the start of the view.
|