EchoMap 2026-07-25 6d3977c
An experimental cross-platform digital signal processing application for sound-source localisation.
Loading...
Searching...
No Matches
echomap::WindowFunctions::Constant Struct Reference

The Constant invocable window function. More...

#include <WindowFunctions.hpp>

Static Public Member Functions

static float operator() (std::size_t index, std::size_t size) noexcept
 Maps the index to the constant 1.0.

Detailed Description

The Constant invocable window function.

Definition at line 61 of file WindowFunctions.hpp.

Member Function Documentation

◆ operator()()

float echomap::WindowFunctions::Constant::operator() ( std::size_t index,
std::size_t size )
staticnoexcept

Maps the index to the constant 1.0.

Parameters
indexThe index within the window.
sizeThe size of the window.
Returns
The mapped index.

Definition at line 45 of file WindowFunctions.cpp.

49{
50 return 1.0f;
51}

The documentation for this struct was generated from the following files: