MatrixEntry

class pyspark.mllib.linalg.distributed.MatrixEntry(i: int, j: int, value: float)[source]

Represents an entry of a CoordinateMatrix.

Just a wrapper over a (int, int, float) tuple.

Parameters
iint

The row index of the matrix.

jint

The column index of the matrix.

valuefloat

The (i, j)th entry of the matrix, as a float.