org.apache.spark.mllib.linalg
Column-majored dense matrix. The entry values are stored in a single array of doubles with columns listed in sequence. For example, the following matrix
1.0 2.0 3.0 4.0 5.0 6.0
is stored as [1.0, 3.0, 5.0, 2.0, 4.0, 6.0].
[1.0, 3.0, 5.0, 2.0, 4.0, 6.0]
number of rows
number of columns
matrix entries in column major
Converts to a dense array in column major.
Column-majored dense matrix. The entry values are stored in a single array of doubles with columns listed in sequence. For example, the following matrix
is stored as
[1.0, 3.0, 5.0, 2.0, 4.0, 6.0]
.