-
- Downloads
[SPARK-5321] Support for transposing local matrices
Support for transposing local matrices added. The `.transpose` function creates a new object re-using the backing array(s) but switches `numRows` and `numCols`. Operations check the flag `.isTransposed` to see whether the indexing in `values` should be modified. This PR will pave the way for transposing `BlockMatrix`. Author: Burak Yavuz <brkyvz@gmail.com> Closes #4109 from brkyvz/SPARK-5321 and squashes the following commits: 87ab83c [Burak Yavuz] fixed scalastyle caf4438 [Burak Yavuz] addressed code review v3 c524770 [Burak Yavuz] address code review comments 2 77481e8 [Burak Yavuz] fixed MiMa f1c1742 [Burak Yavuz] small refactoring ccccdec [Burak Yavuz] fixed failed test dd45c88 [Burak Yavuz] addressed code review a01bd5f [Burak Yavuz] [SPARK-5321] Fixed MiMa issues 2a63593 [Burak Yavuz] [SPARK-5321] fixed bug causing failed gemm test c55f29a [Burak Yavuz] [SPARK-5321] Support for transposing local matrices cleaned up c408c05 [Burak Yavuz] [SPARK-5321] Support for transposing local matrices added
Showing
- mllib/src/main/scala/org/apache/spark/mllib/linalg/BLAS.scala 60 additions, 110 deletions...b/src/main/scala/org/apache/spark/mllib/linalg/BLAS.scala
- mllib/src/main/scala/org/apache/spark/mllib/linalg/Matrices.scala 213 additions, 134 deletions...c/main/scala/org/apache/spark/mllib/linalg/Matrices.scala
- mllib/src/test/scala/org/apache/spark/mllib/linalg/BLASSuite.scala 40 additions, 32 deletions.../test/scala/org/apache/spark/mllib/linalg/BLASSuite.scala
- mllib/src/test/scala/org/apache/spark/mllib/linalg/BreezeMatrixConversionSuite.scala 9 additions, 0 deletions...ache/spark/mllib/linalg/BreezeMatrixConversionSuite.scala
- mllib/src/test/scala/org/apache/spark/mllib/linalg/MatricesSuite.scala 100 additions, 6 deletions...t/scala/org/apache/spark/mllib/linalg/MatricesSuite.scala
- project/MimaExcludes.scala 14 additions, 0 deletionsproject/MimaExcludes.scala
Loading
Please register or sign in to comment