dsplib 1.1.0
C++ DSP library for MATLAB-like coding
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
dsplib::mut_slice_t< T > Class Template Reference

Mutable slice object. More...

#include <slice.h>

Inheritance diagram for dsplib::mut_slice_t< T >:
Inheritance graph
[legend]

Public Types

using iterator = SliceIterator< T >
 
using const_iterator = SliceIterator< const T >
 

Public Member Functions

 mut_slice_t (const mut_slice_t &rhs)
 
int size () const noexcept
 
bool empty () const noexcept
 
int stride () const noexcept
 
mut_slice_toperator= (const slice_t< T > &rhs)
 
mut_slice_toperator= (const mut_slice_t< T > &rhs)
 
mut_slice_toperator= (const base_array< T > &rhs)
 
mut_slice_toperator= (const T &value)
 
mut_slice_toperator= (const std::initializer_list< T > &rhs)
 
iterator begin () noexcept
 
iterator end () noexcept
 
const_iterator begin () const noexcept
 
const_iterator end () const noexcept
 
base_array< T > operator* () const noexcept
 
base_array< T > copy () const noexcept
 
void assign (slice_t< T > rhs)
 

Static Public Member Functions

static mut_slice_t make_slice (T *data, int size, int i1, int i2, int step)
 

Protected Member Functions

 mut_slice_t (T *data, int stride, int count)
 
bool is_same_memory (slice_t< T > rhs) noexcept
 

Protected Attributes

T * data_ {nullptr}
 
int stride_ {0}
 
int count_ {0}
 

Friends

class slice_t< T >
 

Detailed Description

template<typename T>
class dsplib::mut_slice_t< T >

Mutable slice object.

Template Parameters
Treal_t/cmplx_t

The documentation for this class was generated from the following file: