MCPcopy Create free account
hub / github.com/LabSound/LabSound / gen_cosine_3

Function gen_cosine_3

include/LabSound/core/WindowFunctions.h:78–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 }
77
78 inline float gen_cosine_3(const float max_index, const uint32_t idx, const float alpha, const float beta, const float gamma, const float delta)
79 {
80 return gen_cosine_2(max_index, idx, alpha, beta, gamma) - delta * std::cos((3 * static_cast<float>(LAB_TAU) * idx) / max_index);
81 }
82
83 inline float gen_cosine_4(const float max_index, const uint32_t idx, const float alpha, const float beta, const float gamma, const float delta, const float epsilon)
84 {

Callers 2

gen_cosine_4Function · 0.85

Calls 1

gen_cosine_2Function · 0.85

Tested by

no test coverage detected