package linalg
- Alphabetic
- Public
- Protected
Package Members
-  package distributed
Type Members
-    class DenseMatrix extends MatrixColumn-major dense matrix. Column-major dense matrix. The entry values are stored in a single array of doubles with columns listed in sequence. For example, the following matrix 1.0 2.0 3.0 4.0 5.0 6.0 is stored as [1.0, 3.0, 5.0, 2.0, 4.0, 6.0].- Annotations
- @Since("1.0.0") @SQLUserDefinedType()
 
-    class DenseVector extends VectorA dense vector represented by a value array. A dense vector represented by a value array. - Annotations
- @Since("1.0.0") @SQLUserDefinedType()
 
-   sealed  trait Matrix extends SerializableTrait for a local matrix. Trait for a local matrix. - Annotations
- @SQLUserDefinedType() @Since("1.0.0")
 
-    case class QRDecomposition[QType, RType](Q: QType, R: RType) extends Product with SerializableRepresents QR factors. Represents QR factors. - Annotations
- @Since("1.5.0")
 
-    case class SingularValueDecomposition[UType, VType](U: UType, s: Vector, V: VType) extends Product with SerializableRepresents singular value decomposition (SVD) factors. Represents singular value decomposition (SVD) factors. - Annotations
- @Since("1.0.0")
 
-    class SparseMatrix extends MatrixColumn-major sparse matrix. Column-major sparse matrix. The entry values are stored in Compressed Sparse Column (CSC) format. For example, the following matrix 1.0 0.0 4.0 0.0 3.0 5.0 2.0 0.0 6.0 is stored as values: [1.0, 2.0, 3.0, 4.0, 5.0, 6.0],rowIndices=[0, 2, 1, 0, 1, 2],colPointers=[0, 2, 3, 6].- Annotations
- @Since("1.2.0") @SQLUserDefinedType()
 
-    class SparseVector extends VectorA sparse vector represented by an index array and a value array. A sparse vector represented by an index array and a value array. - Annotations
- @Since("1.0.0") @SQLUserDefinedType()
 
-   sealed  trait Vector extends SerializableRepresents a numeric vector, whose index type is Int and value type is Double. Represents a numeric vector, whose index type is Int and value type is Double. - Annotations
- @SQLUserDefinedType() @Since("1.0.0")
- Note
- Users should not implement this interface. 
 
-    class VectorUDT extends UserDefinedType[Vector]:: AlphaComponent :: :: AlphaComponent :: User-defined type for Vector which allows easy interaction with SQL via org.apache.spark.sql.Dataset. - Annotations
- @AlphaComponent()
 
Value Members
-    object DenseMatrix extends SerializableFactory methods for org.apache.spark.mllib.linalg.DenseMatrix. Factory methods for org.apache.spark.mllib.linalg.DenseMatrix. - Annotations
- @Since("1.3.0")
 
-    object DenseVector extends Serializable- Annotations
- @Since("1.3.0")
 
-    object MatricesFactory methods for org.apache.spark.mllib.linalg.Matrix. Factory methods for org.apache.spark.mllib.linalg.Matrix. - Annotations
- @Since("1.0.0")
 
-    object SparseMatrix extends SerializableFactory methods for org.apache.spark.mllib.linalg.SparseMatrix. Factory methods for org.apache.spark.mllib.linalg.SparseMatrix. - Annotations
- @Since("1.3.0")
 
-    object SparseVector extends Serializable- Annotations
- @Since("1.3.0")
 
-    object VectorsFactory methods for org.apache.spark.mllib.linalg.Vector. Factory methods for org.apache.spark.mllib.linalg.Vector. We don't use the name Vectorbecause Scala importsscala.collection.immutable.Vectorby default.- Annotations
- @Since("1.0.0")