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::slice_t< T > Class Template Reference

Non-mutable slice object. More...

#include <slice.h>

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

Public Types

using const_iterator = SliceIterator< const T >
 

Public Member Functions

 slice_t (const slice_t &rhs)
 
 slice_t (const mut_slice_t< T > &rhs)
 
int size () const noexcept
 
bool empty () const noexcept
 
int stride () const noexcept
 
const_iterator begin () const noexcept
 
const_iterator end () const noexcept
 
base_array< T > operator* () const noexcept
 
base_array< T > copy () const noexcept
 

Static Public Member Functions

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

Protected Member Functions

 slice_t (const T *data, int stride, int count)
 

Protected Attributes

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

Friends

class mut_slice_t< T >
 

Detailed Description

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

Non-mutable slice object.

Todo:
add concatenate array = slice | array
Template Parameters
Treal_t/cmplx_t

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