class CoordinateMatrix extends DistributedMatrix
Represents a matrix in coordinate format.
- Annotations
- @Since("1.0.0")
- Source
- CoordinateMatrix.scala
- Alphabetic
- By Inheritance
- CoordinateMatrix
- DistributedMatrix
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
-    new CoordinateMatrix(entries: RDD[MatrixEntry])Alternative constructor leaving matrix dimensions to be determined automatically. Alternative constructor leaving matrix dimensions to be determined automatically. - Annotations
- @Since("1.0.0")
 
-    new CoordinateMatrix(entries: RDD[MatrixEntry], nRows: Long, nCols: Long)- entries
- matrix entries 
- nRows
- number of rows. A non-positive value means unknown, and then the number of rows will be determined by the max row index plus one. 
- nCols
- number of columns. A non-positive value means unknown, and then the number of columns will be determined by the max column index plus one. 
 - Annotations
- @Since("1.0.0")
 
Value Members
-   final  def !=(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def ##: Int- Definition Classes
- AnyRef → Any
 
-   final  def ==(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def asInstanceOf[T0]: T0- Definition Classes
- Any
 
-    def clone(): AnyRef- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
 
-    val entries: RDD[MatrixEntry]- Annotations
- @Since("1.0.0")
 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(arg0: AnyRef): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
 
-    def hashCode(): Int- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
 
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-   final  def ne(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-   final  def notify(): Unit- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
 
-    def numCols(): LongGets or computes the number of columns. Gets or computes the number of columns. - Definition Classes
- CoordinateMatrix → DistributedMatrix
- Annotations
- @Since("1.0.0")
 
-    def numRows(): LongGets or computes the number of rows. Gets or computes the number of rows. - Definition Classes
- CoordinateMatrix → DistributedMatrix
- Annotations
- @Since("1.0.0")
 
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-    def toBlockMatrix(rowsPerBlock: Int, colsPerBlock: Int): BlockMatrixConverts to BlockMatrix. Converts to BlockMatrix. Creates blocks of SparseMatrix.- rowsPerBlock
- The number of rows of each block. The blocks at the bottom edge may have a smaller value. Must be an integer value greater than 0. 
- colsPerBlock
- The number of columns of each block. The blocks at the right edge may have a smaller value. Must be an integer value greater than 0. 
- returns
 - Annotations
- @Since("1.3.0")
 
-    def toBlockMatrix(): BlockMatrixConverts to BlockMatrix. Converts to BlockMatrix. Creates blocks of SparseMatrixwith size 1024 x 1024.- Annotations
- @Since("1.3.0")
 
-    def toIndexedRowMatrix(): IndexedRowMatrixConverts to IndexedRowMatrix. Converts to IndexedRowMatrix. The number of columns must be within the integer range. - Annotations
- @Since("1.0.0")
 
-    def toRowMatrix(): RowMatrixConverts to RowMatrix, dropping row indices after grouping by row index. Converts to RowMatrix, dropping row indices after grouping by row index. The number of columns must be within the integer range. - Annotations
- @Since("1.0.0")
 
-    def toString(): String- Definition Classes
- AnyRef → Any
 
-    def transpose(): CoordinateMatrixTransposes this CoordinateMatrix. Transposes this CoordinateMatrix. - Annotations
- @Since("1.3.0")
 
-   final  def wait(arg0: Long, arg1: Int): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
 
-   final  def wait(): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
Deprecated Value Members
-    def finalize(): Unit- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- (Since version 9)