convert/Array
convert an array, Array, vector, Vector, matrix, Matrix, list, or listlist to an Array
Calling Sequence
Parameters
Description
Examples
convert( A, Array, ... );
A
-
array, Array, vector, Vector, matrix, Matrix, list, listlist; expression to convert
...
options to be passed to the Array constructor
The convert(A, Array) function converts A into an Array. This is accomplished by passing A and any additional parameters to the Array constructor. No special order is required for the additional parameters.
A≔1,2,3,4
A1≔convert⁡A,Array
A1≔1234
type⁡A,Array
false
type⁡A1,Array
true
M≔matrix⁡3,3,1,1,1,1,2,3,7,8,9
M≔111123789
M1≔convert⁡M,Array,datatype=float
M1≔1.1.1.1.2.3.7.8.9.
type⁡M,Array
type⁡M1,Array
LL≔1,2,−3,4
LL1≔convert⁡LL,Array,datatype=float,−3..−4,−5..−4,order=C_order
LL1≔-3 .. -4 × -5 .. -4 Array
type⁡LL,Array
type⁡LL1,Array
ArrayDims⁡LL1
−3..−4,−5..−4
ArrayOptions⁡LL1
datatype=float8,storage=rectangular,order=C_order
AA≔1,2,−3,4
AA1≔convert⁡AA,Array,datatype=float,band1,1,order=C_order
AA1≔1.2.−3.4.
type⁡AA,Array
type⁡AA1,Array
ArrayDims⁡AA1
1..2,1..2
ArrayOptions⁡AA1
datatype=float8,storage=band1,1,order=C_order
ArrayIndFns⁡AA1
band1,1
See Also
Array
array(deprecated)
ArrayDims
ArrayIndFns
ArrayOptions
convert/array
convert/Matrix
convert/Vector
Matrix
rtable
type/Array
Download Help Document
What kind of issue would you like to report? (Optional)