|
| template<typename... Args> |
| constexpr std::size_t | mtl::array::detail_slice::count_kept_dims () |
| template<std::size_t M, std::size_t N, typename... Args> |
| void | mtl::array::detail_slice::slice_layout (const shape< N > &ext, const std::array< std::size_t, N > &strides, shape< M > &new_shape, std::array< std::size_t, M > &new_strides, std::size_t &base_offset, Args... args) |
| | The shape, strides and base offset of a slice of an array with the given extents and strides.
|
template<typename Value, std::size_t N, typename Order, typename... Args>
requires (sizeof...(Args) == N) |
| auto | mtl::array::slice (ndarray< Value, N, Order > &arr, Args... args) |
| | Slice an ndarray, returning a view with potentially reduced rank.
|
template<typename Value, std::size_t N, typename Order, typename... Args>
requires (sizeof...(Args) == N) |
| auto | mtl::array::slice (const ndarray< Value, N, Order > &arr, Args... args) |
| | Const overload: returns a view over const data.
|