# 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()[source]

Get or compute the number of cols.

numRows()[source]

Get or compute the number of rows.