convert/array
convert to array
Calling Sequence
Parameters
Description
Examples
convert(object, array)
object
-
list, table, or array
The convert/array function converts a list, a table, or an array to an array.
When the input object is an array, convert/array will return the object in a dense representation.
Note: The command array has been superseded by Array.
convert⁡1,2,3,4,array
1234
A≔linalgrandmatrix⁡3,3,symmetric
A≔−722−9422−5587−9487−56
lprint⁡
array(symmetric,1 .. 3, 1 .. 3,[(3, 3)=-56,(1, 2)=22,(1, 3)=-94,(1, 1)=-7,(2, 3)=87,(2, 2)=-55])
convert⁡A,array
−722−9422−5587−9487−56
array(1 .. 3, 1 .. 3,[(2, 3)=87,(3, 2)=87,(2, 1)=22,(3, 3)=-56,(2, 2)=-55,(3, 1)=-94,(1, 3)=-94,(1, 2)=22,(1, 1)=-7])
See Also
Array
array(deprecated)
convert/Array
convert/list
convert/table
Download Help Document