Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Done
-
1.6.1
-
None
-
None
Description
When toArray is called from an mllib Densematrix, it calls the function from the superclass Matrix, where it creates a new array (and iterates through all the values).
This is not necessary as values are stored in DenseMatrix, in exactly the format that this function would require. Why not just call that?
Attachments
Issue Links
- is superceded by
-
SPARK-14707 Linear algebra: clarify light vs heavy constructors and accessors
- Resolved