hypotMathematical Operations:Arrayshypothypot
Euclidean distance function.
Description
Returns the value of sqrt(arg1*arg1+arg2*arg2).
Syntaxires[] hypot iarg1[], iarg2[] kres[] hypot karg1[], karg2[]Initializationiarg[]1/2 -- the operands.
Performancekarg[]1/2 -- the operands
Examples
Here is an example of the hypot opcode. It uses the file hypot.csd.
Example of the hypot opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See Alsoarray opcodes
CreditsAuthor: Victor Lazzarini 2017