setcol
Sets a given column of a 2-dimensional array from a vector.
The output is an 2-d array with the contents of the requested column set to values of the input array (1-d; if 2-d the first row of the input array is used).
Syntax
Initialization
iout[] -- output array containing the extracted column. It will be created if it does not exist.
iin[] -- input array.
icol -- column to be extracted.
Performance
kout[] -- output array containing the set column. It will be created if it does not exist.
kin[] -- input array.
kcol -- column to be set.
Examples
Here is an example of the setcol opcode. It uses the file setcol.csd.
See Also
Credits
Author: Victor Lazzarini
NUI Maynooth
2014
New in version 6.04