Previously RDD[Vector] had been used to represent both distributed vectors and matrices. This PR introduces the DVector and DMatrix types to clarify usage when the distributed RDD[Vector] format is used. In addition, new comments describe usage requirements for these datatypes.
Also removes the old, unused function implementations operating on RDD[Double] vectors.
Also adds documentation and clarification of various vector operations throughout the code, including a few optimizations.
Previously RDD[Vector] had been used to represent both distributed vectors and matrices. This PR introduces the DVector and DMatrix types to clarify usage when the distributed RDD[Vector] format is used. In addition, new comments describe usage requirements for these datatypes.
Also removes the old, unused function implementations operating on RDD[Double] vectors.
Also adds documentation and clarification of various vector operations throughout the code, including a few optimizations.