Spark 3.5.5 ScalaDoc - org.apache.spark.ml.linalg.SparseMatrix (original) (raw)

class SparseMatrix extends Matrix

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. SparseMatrix

  2. Matrix

  3. Serializable

  4. Serializable

  5. AnyRef

  6. Any

  7. Hide All

  8. Show All

Instance Constructors

  1. new SparseMatrix(numRows: Int, numCols: Int, colPtrs: Array[Int], rowIndices: Array[Int], values: Array[Double])
  2. new SparseMatrix(numRows: Int, numCols: Int, colPtrs: Array[Int], rowIndices: Array[Int], values: Array[Double], isTransposed: Boolean)

Value Members

  1. final def !=(arg0: Any): Boolean
  2. final def ##(): Int
  3. final def ==(arg0: Any): Boolean
  4. def apply(i: Int, j: Int): Double
  5. final def asInstanceOf[T0]: T0
  6. def clone(): AnyRef
  7. def colIter: Iterator[Vector]
  8. val colPtrs: Array[Int]
  9. def compressed: Matrix
  10. def compressedColMajor: Matrix
  11. def compressedRowMajor: Matrix
  12. def copy: SparseMatrix
  13. final def eq(arg0: AnyRef): Boolean
  14. def equals(o: Any): Boolean
  15. def finalize(): Unit
  16. def foreachActive(f: (Int, Int, Double) ⇒ Unit): Unit
  17. final def getClass(): Class[_]
  18. def hashCode(): Int
  19. final def isInstanceOf[T0]: Boolean
  20. val isTransposed: Boolean
  21. def multiply(y: Vector): DenseVector
  22. def multiply(y: DenseVector): DenseVector
  23. def multiply(y: DenseMatrix): DenseMatrix
  24. final def ne(arg0: AnyRef): Boolean
  25. final def notify(): Unit
  26. final def notifyAll(): Unit
  27. def numActives: Int
  28. val numCols: Int
  29. def numNonzeros: Int
  30. val numRows: Int
  31. val rowIndices: Array[Int]
  32. def rowIter: Iterator[Vector]
  33. final def synchronized[T0](arg0: ⇒ T0): T0
  34. def toArray: Array[Double]
  35. def toDense: DenseMatrix
  36. def toDenseColMajor: DenseMatrix
  37. def toDenseRowMajor: DenseMatrix
  38. def toSparse: SparseMatrix
  39. def toSparseColMajor: SparseMatrix
  40. def toSparseRowMajor: SparseMatrix
  41. def toString(maxLines: Int, maxLineWidth: Int): String
  42. def toString(): String
  43. def transpose: SparseMatrix
  44. val values: Array[Double]
  45. final def wait(): Unit
  46. final def wait(arg0: Long, arg1: Int): Unit
  47. final def wait(arg0: Long): Unit

Inherited from Matrix

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Members