CNA – Array (vector/matrix) constant
Block SymbolLicensing group: STANDARD
Function Description
The block CNA allocates memory for nmax elements of the type etype of the vector/matrix referenced
by the output vec and initializes all elements to data stored in the parameter acn. If the string
parameter filename is not empty then it loads initalization data from the filename. If the
parameter
then the output reference vec contains transposed data.
Parameters
filename | CSV data file | string |
TRN | Transpose loaded matrix | bool |
nmax | Allocated size of array 2 10000000 100 | long |
etype | Type of elements 8 | long |
|
|
|
acn | Initial array value [0 1 2 3] | double |
Output
vec | Reference to vector/matrix data | reference |
[Back to top] [Up] [Next]