Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
10
Task/Array-concatenation/IDL/array-concatenation-1.idl
Normal file
10
Task/Array-concatenation/IDL/array-concatenation-1.idl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
> a = [1,2,3]
|
||||
> b = [4,5,6]
|
||||
> help,a
|
||||
A INT = Array[3]
|
||||
> help,b
|
||||
B INT = Array[3]
|
||||
> print,a
|
||||
1 2 3
|
||||
> print,b
|
||||
4 5 6
|
||||
4
Task/Array-concatenation/IDL/array-concatenation-2.idl
Normal file
4
Task/Array-concatenation/IDL/array-concatenation-2.idl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
> help,[a,b]
|
||||
<Expression> INT = Array[6]
|
||||
> print,[a,b]
|
||||
1 2 3 4 5 6
|
||||
5
Task/Array-concatenation/IDL/array-concatenation-3.idl
Normal file
5
Task/Array-concatenation/IDL/array-concatenation-3.idl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
> help,[[a],[b]]
|
||||
<Expression> INT = Array[3, 2]
|
||||
> print,[[a],[b]]
|
||||
1 2 3
|
||||
4 5 6
|
||||
13
Task/Array-concatenation/IDL/array-concatenation-4.idl
Normal file
13
Task/Array-concatenation/IDL/array-concatenation-4.idl
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
> b = transpose(b)
|
||||
> help,b
|
||||
B INT = Array[1, 3]
|
||||
> print,b
|
||||
4
|
||||
5
|
||||
6
|
||||
> print,[a,b]
|
||||
Unable to concatenate variables because the dimensions do not agree: B.
|
||||
Execution halted at: $MAIN$
|
||||
> print,[[a],[b]]
|
||||
Unable to concatenate variables because the dimensions do not agree: B.
|
||||
Execution halted at: $MAIN$
|
||||
Loading…
Add table
Add a link
Reference in a new issue