Interface DistributedMatrix

All Superinterfaces:
Serializable, scala.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

    Modifier and Type
    Method
    Description
    long
    Gets or computes the number of columns.
    long
    Gets or computes the number of rows.
    breeze.linalg.DenseMatrix<Object>
    Collects data and assembles a local dense breeze matrix (for test only).
  • Method Details

    • numCols

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

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

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