September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
17
Task/Sort-an-integer-array/Stata/sort-an-integer-array.stata
Normal file
17
Task/Sort-an-integer-array/Stata/sort-an-integer-array.stata
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
mata
|
||||
: a=2\9\4\7\5\3\6\1\8
|
||||
|
||||
: sort(a,1)
|
||||
1
|
||||
+-----+
|
||||
1 | 1 |
|
||||
2 | 2 |
|
||||
3 | 3 |
|
||||
4 | 4 |
|
||||
5 | 5 |
|
||||
6 | 6 |
|
||||
7 | 7 |
|
||||
8 | 8 |
|
||||
9 | 9 |
|
||||
+-----+
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue