r2cArray Operations: complex numbersr2cr2c
Real to complex format conversion.
Description
Converts a real-valued input array in real-imaginary interleaved complex format, setting its imaginary parts to 0. The output array will be double the size of the input. This is a utility operation to facilitate complex-value operations on real arrays.
Syntaxkout[] r2c kin[]Performancekout[] -- output array containing the complex-valued real-imaginary output. It will be created if it does not exist.
kin[] -- input array containing the real-valued input.
Examples
Here is an example of the r2c opcode. It uses the file r2c.csd.Example of the r2c 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