Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Quafadas committed Sep 14, 2024
1 parent e8c7f09 commit 68417f1
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions site/docs/_docs/matrix.mdoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,12 @@ val mat = Matrix.fromRows(
NArray[Double](7.0, 8.0, 9.0)
)
)
mat(::, ::)
mat(1, ::)

mat(::, 1)

mat(1, 1)

mat(0 to 1, 0 to 1)

mat(NArray.from[Int](Array(0, 2)), 0 to 1)
mat(::, ::).print
mat(1, ::).print
mat(::, 1).print
mat(1, 1).print
mat(0 to 1, 0 to 1).print
mat(NArray.from[Int](Array(0, 2)), 0 to 1).print


```

0 comments on commit 68417f1

Please sign in to comment.