![]() |
Klang C++ 0.7.15
Language Reference (draft)
|
Language Guide / Functions ยท Generated API signature Squares its input. Multiplies the input by itself. Squaring a signed sample can give a non-negative value for a power calculation.sqr
klang::sqrDirect call
const signal power = sqr(sample);Signal flow
const signal power = sample >> sqr;