# DistributedMatrix¶

class pyspark.mllib.linalg.distributed.DistributedMatrix[source]

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

Methods

 Get or compute the number of cols. Get or compute the number of rows.

Methods Documentation

numCols() → int[source]

Get or compute the number of cols.

numRows() → int[source]

Get or compute the number of rows.