Skip to content

Commit 572c898

Browse files
committed
Basic def
1 parent a380c55 commit 572c898

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

sig/matrix.rbs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
type numeric = Integer | Float | Rational | Complex
2+
3+
class Matrix
4+
@rows : Array[Array[numeric]]
5+
end
6+
7+
class Vector
8+
@elements : Array[numeric]
9+
end

0 commit comments

Comments
 (0)