setrowArray Opcodessetrowsetrow
Sets a given row of a 2-dimensional array from a vector.
Description
Sets a given row of a 2-dimensional array. The output is an 2-d array with the contents of the requested row set to values of the input array (1-d; if 2-d the first row of the input array is used).
Syntaxi/kout[] setrow i/kin[],i/krowInitializationiout[] -- output array containing the set row. It will be created if it does not exist.
iin[] -- input array.
irow -- row to be set.
Performancekout[] -- output array containing the set row. It will be created if it does not exist.
kin[] -- input array.
krow -- row to be set.
Examples
Here is an example of the setrow opcode. It uses the file rfft.csd.Example of the setrow opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See AlsoVectorial opcodes
array opcodes
CreditsAuthor: &namevictor;NUI Maynooth2014New in version 6.04