|
Calling Sequence
|
|
convert(object, array)
|
|
Parameters
|
|
object
|
-
|
list, table, or array
|
|
|
|
|
Description
|
|
•
|
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.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (2) |
array(symmetric,1 .. 3, 1 .. 3,[(3, 3)=-56,(1, 2)=22,(1, 3)=-94,(1, 1)=-7,(2, 3)=87,(2, 2)=-55])
| |
| (3) |
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])
| |
|
|
|