|
| | ndarray_timed_view () |
| | Create null timed view. More...
|
| |
| | ndarray_timed_view (const base &vw, time_unit start_time) |
| | Create timed view where time index start_time is associated with frame vw[0]. More...
|
| |
| time_unit | start_time () const |
| |
| time_unit | end_time () const |
| |
| time_unit | duration () const |
| |
| std::ptrdiff_t | time_index (time_unit t) const |
| |
| time_unit | time_at (std::ptrdiff_t i) const |
| |
| decltype(auto) | at_time (time_unit t) const |
| |
| decltype(auto) | at_time (time_unit t) |
| |
| time_span | span () const |
| |
| void | reset (const ndarray_timed_view &vw) |
| |
| bool | has_default_strides (std::size_t minimal_dimension=0) const noexcept |
| | Check if view has default strides. More...
|
| |
| std::size_t | default_strides_padding (std::size_t minimal_dimension=0) const |
| | Returns padding of the view which has default strides. More...
|
| |
| | ndarray_view () |
| | Create null view. More...
|
| |
| | ndarray_view (pointer start, const shape_type &, const strides_type &) |
| | Create view with explicitly specified start, shape and strides. More...
|
| |
| | ndarray_view (pointer start, const shape_type &shape) |
| | Create view with explicitly specified start and shape, with default strides (without padding). More...
|
| |
| | ndarray_view (const ndarray_view< Dim, std::remove_const_t< T >> &arr) |
| | Copy-construct view. More...
|
| |
| bool | is_null () const noexcept |
| |
| | operator bool () const noexcept |
| |
| void | reset (const ndarray_view &other) noexcept |
| |
| void | reset () noexcept |
| |
| void | reset (pointer start, const shape_type &shape, const strides_type &strides) |
| |
| void | reset (pointer start, const shape_type &shape) |
| |
| template<typename Arg > |
| const ndarray_view & | operator= (Arg &&arg) const |
| |
| const ndarray_view & | operator= (const ndarray_view &other) const |
| |
| coordinates_type | index_to_coordinates (const index_type &) const |
| |
| index_type | coordinates_to_index (const coordinates_type &) const |
| |
| pointer | coordinates_to_pointer (const coordinates_type &) const |
| |
| ndarray_view | section (const coordinates_type &start, const coordinates_type &end, const strides_type &steps=strides_type(1)) const |
| | Cuboid section of view, with interval in each axis. More...
|
| |
| ndarray_view | section (const span_type &span, const strides_type &steps=strides_type(1)) const |
| | Cuboid section of view, defined using ndspan object. More...
|
| |
| ndarray_view< Dim-1, T > | slice (std::ptrdiff_t c, std::ptrdiff_t dimension) const |
| | Create ndarray_view with one less dimension, by fixing coordinate of axis dimension to c. More...
|
| |
| decltype(auto) | operator[] (std::ptrdiff_t c) const |
| | Subscript operator, creates slice on first dimension. More...
|
| |
| fcall_result | operator() (std::ptrdiff_t start, std::ptrdiff_t end, std::ptrdiff_t step=1) const |
| |
| fcall_result | operator() (std::ptrdiff_t c) const |
| |
| fcall_result | operator() () const |
| |
| reference | at (const coordinates_type &) const |
| |
| iterator | begin () const |
| |
| iterator | end () const |
| |
| template<typename T2 > |
| void | assign (const ndarray_view< Dim, T2 > &) const |
| |
| void | assign (const ndarray_view< Dim, const T > &other) const |
| |
| template<typename T2 > |
| bool | compare (const ndarray_view< Dim, T2 > &) const |
| |
| bool | compare (const ndarray_view< Dim, const T > &other) const |
| |
| template<typename Arg > |
| bool | operator== (Arg &&arg) const |
| |
| template<typename Arg > |
| bool | operator!= (Arg &&arg) const |
| |
| std::size_t | size () const |
| |
| pointer | start () const noexcept |
| |
| const shape_type & | shape () const noexcept |
| |
| const strides_type & | strides () const noexcept |
| |
| std::ptrdiff_t | contiguous_length () const noexcept |
| |
| span_type | full_span () const noexcept |
| |
| template<std::size_t New_dim> |
| ndarray_view< New_dim, T > | reshape (const ndsize< New_dim > &) const |
| |
| ndarray_view< 1+Dim, T > | add_front_axis () const |
| |
| ndarray_view | swapaxis (std::size_t axis1, std::size_t axis2) const |
| |
template<std::size_t Dim, typename T>
class mf::ndarray_timed_view< Dim, T >
Ndarray view with absolute time indices associated to first dimension.
Each frame vw[i] is associated with time index t = start_time + i.