Skip to content

Function window

function window(size_t, cval_t<window_type, type>, std::type_identity_t<T>, window_symmetry, ctype_t<T>) dsp

template <typename T           = fbase, window_type type,
          typename window_expr = typename window_by_type<type>::template type<T>>
KFR_NOINLINE window_expr window(size_t size, cval_t<window_type, type>,
                                std::type_identity_t<T> win_param = T(),
                                window_symmetry symmetry          = window_symmetry::symmetric,
                                ctype_t<T>                        = ctype_t<T>())

Returns a window expression of the requested compile-time type

Template parameters
T Sample type (defaults to fbase)
type Window type (compile-time)
Parameters
size Length of the window
win_param Window-specific parameter (alpha/beta/epsilon); ignored by parameterless windows
symmetry Symmetry mode of the window
Returns
Window expression of the corresponding type

Fully qualified name: kfr::window(size_t, cval_t<window_type, type>, std::type_identity_t<T>, window_symmetry, ctype_t<T>)

Declared at dsp/window.hpp:752

Function window

function window(size_t, window_type, std::type_identity_t<T>, window_symmetry, ctype_t<T>) dsp

template <typename T = fbase>
KFR_NOINLINE expression_handle<T> window(size_t size, window_type type, std::type_identity_t<T> win_param,
                                         window_symmetry symmetry = window_symmetry::symmetric,
                                         ctype_t<T>               = ctype_t<T>())

Returns a type-erased window expression of the requested runtime type

Template parameters
T Sample type (defaults to fbase)
Parameters
size Length of the window
type Window type (runtime)
win_param Window-specific parameter (alpha/beta/epsilon); ignored by parameterless windows
symmetry Symmetry mode of the window
Returns
Handle to the window expression of the corresponding type

Fully qualified name: kfr::window(size_t, window_type, std::type_identity_t<T>, window_symmetry, ctype_t<T>)

Declared at dsp/window.hpp:770

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.