c2rArray Operations: complex numbersc2rc2r
Real to complex format conversion.
Description
Converts a complex-valued input array into a real-valued array, by removing its imaginary part. The output array will be halt the size of the input. This is a utility operation to facilitate complex-valued operations where the result is purely real.
Syntaxkout[] c2r kin[]Performancekout[] -- output array containing the real-valued output. It will be created if it does not exist.
kin[] -- input array containing the complex-valued real-imaginary input.
Examples
Here is an example of the c2r opcode. It uses the file c2r.csd.Example of the c2r opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See AlsoVectorial opcodesarray opcodesArray-based spectral opcodesCreditsAuthor: &namevictor;NUI Maynooth2014New in version 6.04