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#L497

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#L524

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#L555

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#L566

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#L545

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#L506

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#L587

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#L597

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#L535

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#L515

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#L577

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#L607

window_rectangular function

internal::expression_rectangular<fbase>
window_rectangular(size_t size)

Returns template expression that generates Rrectangular window of length size

Source code
KFR_FUNCTION internal::expression_rectangular<fbase> window_rectangular(size_t size)
{
    return internal::expression_rectangular<fbase>(size, fbase());
}

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

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#L488


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