org.apache.spark.mllib.linalg.distributed
Interface DistributedMatrix

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
BlockMatrix, CoordinateMatrix, IndexedRowMatrix, RowMatrix

public interface DistributedMatrix
extends scala.Serializable

Represents a distributively stored matrix backed by one or more RDDs.


Method Summary
 long numCols()
          Gets or computes the number of columns.
 long numRows()
          Gets or computes the number of rows.
 breeze.linalg.DenseMatrix<Object> toBreeze()
          Collects data and assembles a local dense breeze matrix (for test only).
 

Method Detail

numRows

long numRows()
Gets or computes the number of rows.


numCols

long numCols()
Gets or computes the number of columns.


toBreeze

breeze.linalg.DenseMatrix<Object> toBreeze()
Collects data and assembles a local dense breeze matrix (for test only).