diff --git a/build.sc b/build.sc index 3564da0..1211627 100644 --- a/build.sc +++ b/build.sc @@ -109,4 +109,8 @@ object site extends SiteModule { override def moduleDeps = Seq(vecxt.jvm) + override def allScalacOptions: Target[Seq[String]] = super.allScalacOptions() ++ vecIncubatorFlag + + override def scalaDocOptions = super.scalaDocOptions + } \ No newline at end of file diff --git a/site/docs/_docs/matrix.mdoc.md b/site/docs/_docs/matrix.mdoc.md index 27790d5..43156a0 100644 --- a/site/docs/_docs/matrix.mdoc.md +++ b/site/docs/_docs/matrix.mdoc.md @@ -18,12 +18,14 @@ val nestedArr = NArray( ) val matrix = Matrix.fromRows(nestedArr) -val matrix = Matrix.fromColumns(nestedArr) +val matrix2 = Matrix.fromColumns(nestedArr) println(matrix.shape) println(matrix.print) +println(matrix2.print) + println(matrix.col(1).print) println(matrix.row(2).print)