Created
February 27, 2020 04:58
-
-
Save kmizu/6630a0677175def758eb1c00b5d66829 to your computer and use it in GitHub Desktop.
Matlike example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ java -jar target/scala-2.13/matlike.jar | |
> 1 | |
value = 1 | |
> 23 | |
value = 23 | |
> [1 2 3; 4 5 6] | |
value = | |
[ | |
1 2 3 | |
4 5 6 | |
] | |
> [1 2; 3 4; 5 6] + 3 | |
value = | |
[ | |
4 5 | |
6 7 | |
8 9 | |
] | |
$ java -jar target/scala-2.13/matlike.jar -e "[1 2 3; 4 5 6]" | |
[ | |
1 2 3 | |
4 5 6 | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment