Skip to content

class filter<T> filter

template <typename T>
class filter { … }

Abstract base class for filters with one argument. Mainly for DSP

destructor ~filter<T>()

virtual ~filter()

Defined at base/filter.hpp:41

function reset()

virtual void reset()

Resets internal state (such as delay line)

Defined at base/filter.hpp:44

function apply(T (&)[Size])

template <size_t Size>
void apply(T (&buffer)[Size])

Applies filter to a static array

Defined at base/filter.hpp:48

function apply(T (&)[Size], T (&)[Size])

template <size_t Size>
void apply(T (&dest)[Size], T (&src)[Size])

Applies filter to a static array and writes the result to another array

Defined at base/filter.hpp:55

function apply(univector<T, Tag> &)

template <univector_tag Tag>
void apply(univector<T, Tag>& buffer)

Applies filter to a univector

Defined at base/filter.hpp:62

function apply(univector<T, Tag1> &, const univector<T, Tag2> &)

template <univector_tag Tag1, univector_tag Tag2>
void apply(univector<T, Tag1>& dest, const univector<T, Tag2>& src)

Applies filter to a univector and writes the result to another univector

Defined at base/filter.hpp:69

function apply(T *, size_t)

void apply(T* buffer, size_t size)

Defined at base/filter.hpp:76

function apply(T *, const T *, size_t)

void apply(T* dest, const T* src, size_t size)

Defined at base/filter.hpp:78

function apply(univector<T, Tag> &, const expression_handle<T, 1> &)

template <univector_tag Tag>
void apply(univector<T, Tag>& dest, const expression_handle<T, 1>& src)

Defined at base/filter.hpp:81

function apply(T *, const expression_handle<T, 1> &, size_t)

void apply(T* dest, const expression_handle<T, 1>& src, size_t size)

Defined at base/filter.hpp:86

function apply(univector<T, Tag> &, const Expr &)

template <univector_tag Tag, input_expression Expr>
void apply(univector<T, Tag>& dest, const Expr& src)

Defined at base/filter.hpp:92

function apply(T *, const Expr &, size_t)

template <input_expression Expr>
void apply(T* dest, const Expr& src, size_t size)

Defined at base/filter.hpp:99

function process_buffer(T *, const T *, size_t)

virtual void process_buffer(T* dest, const T* src, size_t size)                           = 0

Defined at base/filter.hpp:105

function process_expression(T *, const expression_handle<T, 1> &, size_t)

virtual void process_expression(T* dest, const expression_handle<T, 1>& src, size_t size) = 0

Defined at base/filter.hpp:106

Defined at base/filter.hpp:38