Skip to content

Window functions

window_bartlett function

template <typename T = fbase>
internal::expression_bartlett<T>
window_bartlett(size_t size, ctype_t<T> = ctype_t<T>())

Returns template expression that generates Bartlett window of length size

Source code
template <typename T = fbase>
KFR_FUNCTION internal::expression_bartlett<T> window_bartlett(size_t size, ctype_t<T> = ctype_t<T>())
{
    return internal::expression_bartlett<T>(size);
}

https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L499

window_bartlett_hann function

template <typename T = fbase>
internal::expression_bartlett_hann<T>
window_bartlett_hann(size_t size, ctype_t<T> = ctype_t<T>())

Returns template expression that generates Bartlett-Hann window of length size

Source code
template <typename T = fbase>
KFR_FUNCTION internal::expression_bartlett_hann<T> window_bartlett_hann(size_t size,
                                                                        ctype_t<T> = ctype_t<T>())
{
    return internal::expression_bartlett_hann<T>(size);
}

https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L526

window_blackman function

template <typename T = fbase>
internal::expression_blackman<T> window_blackman(
    size_t size, identity<T> alpha = 0.16,
    window_symmetry symmetry = window_symmetry::symmetric,
    ctype_t<T> = ctype_t<T>())

Returns template expression that generates Blackman window of length size where α = alpha

Source code
template <typename T = fbase>
KFR_FUNCTION internal::expression_blackman<T> window_blackman(
    size_t size, identity<T> alpha = 0.16, window_symmetry symmetry = window_symmetry::symmetric,
    ctype_t<T> = ctype_t<T>())
{
    return internal::expression_blackman<T>(size, alpha, symmetry);
}

https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L557

window_blackman_harris function

template <typename T = fbase>
internal::expression_blackman_harris<T>
window_blackman_harris(
    size_t size,
    window_symmetry symmetry = window_symmetry::symmetric,
    ctype_t<T> = ctype_t<T>())

Returns template expression that generates Blackman-Harris window of length size

Source code
template <typename T = fbase>
KFR_FUNCTION internal::expression_blackman_harris<T> window_blackman_harris(
    size_t size, window_symmetry symmetry = window_symmetry::symmetric, ctype_t<T> = ctype_t<T>())
{
    return internal::expression_blackman_harris<T>(size, T(), symmetry);
}

https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L568

window_bohman function

template <typename T = fbase>
internal::expression_bohman<T>
window_bohman(size_t size, ctype_t<T> = ctype_t<T>())

Returns template expression that generates Bohman window of length size

Source code
template <typename T = fbase>
KFR_FUNCTION internal::expression_bohman<T> window_bohman(size_t size, ctype_t<T> = ctype_t<T>())
{
    return internal::expression_bohman<T>(size);
}

https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L547

window_cosine function

template <typename T = fbase>
internal::expression_cosine<T>
window_cosine(size_t size, ctype_t<T> = ctype_t<T>())

Returns template expression that generates Cosine window of length size

Source code
template <typename T = fbase>
KFR_FUNCTION internal::expression_cosine<T> window_cosine(size_t size, ctype_t<T> = ctype_t<T>())
{
    return internal::expression_cosine<T>(size);
}

https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L508

window_flattop function

template <typename T = fbase>
internal::expression_flattop<T>
window_flattop(size_t size, ctype_t<T> = ctype_t<T>())

Returns template expression that generates Flat top window of length size

Source code
template <typename T = fbase>
KFR_FUNCTION internal::expression_flattop<T> window_flattop(size_t size, ctype_t<T> = ctype_t<T>())
{
    return internal::expression_flattop<T>(size);
}

https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L589

window_gaussian function

template <typename T = fbase>
internal::expression_gaussian<T>
window_gaussian(size_t size, identity<T> alpha = 2.5,
                ctype_t<T> = ctype_t<T>())

Returns template expression that generates Gaussian window of length size where α = alpha

Source code
template <typename T = fbase>
KFR_FUNCTION internal::expression_gaussian<T> window_gaussian(size_t size, identity<T> alpha = 2.5,
                                                              ctype_t<T> = ctype_t<T>())
{
    return internal::expression_gaussian<T>(size, alpha);
}

https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L599

window_hamming function

template <typename T = fbase>
internal::expression_hamming<T>
window_hamming(size_t size, identity<T> alpha = 0.54,
               ctype_t<T> = ctype_t<T>())

Returns template expression that generates Hamming window of length size where α = alpha

Source code
template <typename T = fbase>
KFR_FUNCTION internal::expression_hamming<T> window_hamming(size_t size, identity<T> alpha = 0.54,
                                                            ctype_t<T> = ctype_t<T>())
{
    return internal::expression_hamming<T>(size, alpha);
}

https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L537

window_hann function

template <typename T = fbase>
internal::expression_hann<T>
window_hann(size_t size, ctype_t<T> = ctype_t<T>())

Returns template expression that generates Hann window of length size

Source code
template <typename T = fbase>
KFR_FUNCTION internal::expression_hann<T> window_hann(size_t size, ctype_t<T> = ctype_t<T>())
{
    return internal::expression_hann<T>(size);
}

https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L517

window_kaiser function

template <typename T = fbase>
internal::expression_kaiser<T>
window_kaiser(size_t size, identity<T> beta = T(0.5),
              ctype_t<T> = ctype_t<T>())

Returns template expression that generates Kaiser window of length size where β = beta

Source code
template <typename T = fbase>
KFR_FUNCTION internal::expression_kaiser<T> window_kaiser(size_t size, identity<T> beta = T(0.5),
                                                          ctype_t<T> = ctype_t<T>())
{
    return internal::expression_kaiser<T>(size, beta);
}

https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L579

window_lanczos function

template <typename T = fbase>
internal::expression_lanczos<T>
window_lanczos(size_t size, ctype_t<T> = ctype_t<T>())

Returns template expression that generates Lanczos window of length size

Source code
template <typename T = fbase>
KFR_FUNCTION internal::expression_lanczos<T> window_lanczos(size_t size, ctype_t<T> = ctype_t<T>())
{
    return internal::expression_lanczos<T>(size);
}

https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L609

window_rectangular function

template <typename T = fbase>
internal::expression_rectangular<T>
window_rectangular(size_t size, ctype_t<T> = ctype_t<T>())

Returns template expression that generates Rrectangular window of length size

Source code
template <typename T = fbase>
KFR_FUNCTION internal::expression_rectangular<T> window_rectangular(size_t size, ctype_t<T> = ctype_t<T>())
{
    return internal::expression_rectangular<T>(size, T());
}

https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L481

window_triangular function

template <typename T = fbase>
internal::expression_triangular<T>
window_triangular(size_t size, ctype_t<T> = ctype_t<T>())

Returns template expression that generates Triangular window of length size

Source code
template <typename T = fbase>
KFR_FUNCTION internal::expression_triangular<T> window_triangular(size_t size, ctype_t<T> = ctype_t<T>())
{
    return internal::expression_triangular<T>(size);
}

https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L490


Auto-generated from sources, Revision , https://github.com/kfrlib/kfr/blob//include/kfr/