|
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,[(1, 2)=22,(2, 3)=87,(1, 3)=-94,(2, 2)=-55,(1, 1)=-7,(3, 3)=-56])
| |
| (3) |
array(1 .. 3, 1 .. 3,[(1, 2)=22,(3, 1)=-94,(2, 3)=87,(1, 3)=-94,(2, 2)=-55,(2, 1)=22,(1, 1)=-7,(3, 3)=-56,(3, 2)=87])
| |
|
|
|