CON

Member Of Menu: 
Array
Argument Types: 
Real
Complex
List
Symbol
Array
Result Type(s): 
None
Array
Invertible: 
No
Valid In Expression: 
No
Stack Diagram: 
List1 Real2 Array3
List1 Complex2 Array3
Array1 Real2 Array3
Array1 Complex2 Array3
Symbol1 Real2
Symbol1 Complex2

This operation is used to create an array of constant values. The resulting array will have all values set to the real or complex argument provided on input. If the first argument is a list, the list contains one or two real values which specifies the dimension of the resulting array. If the list has a single real value, the result will be a vector. If the list has two values, it specifies the number of rows and columns in a resulting matrix.

If the first argument is a vector or matrix, then the result will also be a vector or matrix of the same dimensions. If the second argument is complex, then the vector or matrix provided must also be complex.

Finally, if the first argument is a symbol, then the value at that symbol must be a vector or matrix. If the second argument is complex, then the vector or matrix value of that symbol must also be complex. The value of the symbol is updated to be a constant vector or matrix with value specified by the second argument.