Interface DistributedMatrix

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

public interface DistributedMatrix extends 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).