Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
16
Task/Matrix-arithmetic/SPAD/matrix-arithmetic.spad
Normal file
16
Task/Matrix-arithmetic/SPAD/matrix-arithmetic.spad
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
(1) -> M:=matrix [[2, 9, 4], [7, 5, 3], [6, 1, 8]]
|
||||
|
||||
+2 9 4+
|
||||
| |
|
||||
(1) |7 5 3|
|
||||
| |
|
||||
+6 1 8+
|
||||
Type: Matrix(Integer)
|
||||
(2) -> determinant M
|
||||
|
||||
(2) - 360
|
||||
Type: Integer
|
||||
(3) -> permanent M
|
||||
|
||||
(3) 900
|
||||
Type: PositiveInteger
|
||||
Loading…
Add table
Add a link
Reference in a new issue