![]() |
Klang C++ 0.7.15
Language Reference (draft)
|
Language Guide / Functions ยท Generated namespace reference Length of a two-dimensional vector. Returns the Euclidean magnitude of two components. For example, it can turn the real and imaginary parts of a complex sample into a magnitude. Based on Here hypot
klang::hypotstd::hypot.Direct call
const signal magnitude = hypot(x, y);Signal flow
y is a float. Its current value supplies the second operand.const signal magnitude = x >> hypot(y);