Packages

object svd extends UFunc

Computes the SVD of a M-by-N matrix Returns an M-by-M matrix U, a vector of singular values, and a N-by-N matrix V'

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. svd
  2. UFunc
  3. HasOps
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type DenseSVD = SVD[DenseMatrix[Double], DenseVector[Double]]
  2. type Impl[V, VR] = UImpl[svd.this.type, V, VR]
    Definition Classes
    UFunc
  3. type Impl2[V1, V2, VR] = UImpl2[svd.this.type, V1, V2, VR]
    Definition Classes
    UFunc
  4. type Impl3[V1, V2, V3, VR] = UImpl3[svd.this.type, V1, V2, V3, VR]
    Definition Classes
    UFunc
  5. type Impl4[V1, V2, V3, V4, VR] = UImpl4[svd.this.type, V1, V2, V3, V4, VR]
    Definition Classes
    UFunc
  6. type InPlaceImpl[V] = generic.UFunc.InPlaceImpl[svd.this.type, V]
    Definition Classes
    UFunc
  7. type InPlaceImpl2[V1, V2] = generic.UFunc.InPlaceImpl2[svd.this.type, V1, V2]
    Definition Classes
    UFunc
  8. type InPlaceImpl3[V1, V2, V3] = generic.UFunc.InPlaceImpl3[svd.this.type, V1, V2, V3]
    Definition Classes
    UFunc
  9. type OpMulMatrix_Mat_DV_eq_DV[Mat] = UImpl2[OpMulMatrix.type, Mat, DenseVector[Double], DenseVector[Double]]
  10. type SDenseSVD = SVD[DenseMatrix[Float], DenseVector[Float]]
  11. case class SVD[M, V](leftVectors: M, singularValues: V, rightVectors: M) extends Product with Serializable
  12. type SinkImpl[S, V] = generic.UFunc.SinkImpl[svd.this.type, S, V]
    Definition Classes
    UFunc
  13. type SinkImpl2[S, V1, V2] = generic.UFunc.SinkImpl2[svd.this.type, S, V1, V2]
    Definition Classes
    UFunc
  14. type SinkImpl3[S, V1, V2, V3] = generic.UFunc.SinkImpl3[svd.this.type, S, V1, V2, V3]
    Definition Classes
    UFunc

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit def Svd_Sparse_Impl[Mat, MatTranspose](implicit mul: OpMulMatrix_Mat_DV_eq_DV[Mat], trans: CanTranspose[Mat, MatTranspose], mulTrans: OpMulMatrix_Mat_DV_eq_DV[MatTranspose], dimImpl: dim.Impl[Mat, (Int, Int)]): Impl3[Mat, Int, Double, DenseSVD]

    Implementation of svds for a sparse matrix.

    Implementation of svds for a sparse matrix. The caller provides two operations: mul - matrix multiplies a DenseVector, and trans - matrix transpose.

    Mat

    Type of the input matrix of size n*m.

    MatTranspose

    Type of the transpose of input matrix of size m*n.

    mul

    Operation that multiples a matrix with a DenseVector. Example:

    implicit object Op_Mul_Mat_V extends OpMulMatrixDenseVector[UserMatrixType] {
      def apply(mt: UserMatrixType, iv: DenseVector[Double]) = {
        // return another DenseVector[Double] = mt * iv
      }
    }
    trans

    Operator for transposing the matrix. Example:

    implicit object Op_Mat_Trans extends CanTranspose[UserMatrixType, UserMatrixTypeTranspose] {
      def apply(mt: UserMatrixType) = {
        // return a UserMatrixTypeTranspose which is the transpose of mt
      }
    }
    mulTrans

    Operation that multiples a transposed matrix with a DenseVector. Example:

    // if UserMatrixType and UserMatrixTypeTranspose are actually the same type, you do not need this
    implicit object Op_Mul_Mat_V extends OpMulMatrixDenseVector[UserMatrixTypeTranspose] {
      def apply(mtTrans: UserMatrixTypeTranspose, iv: DenseVector[Double]) = {
        // return another DenseVector[Double] = mtTrans * iv
      }
    }
    returns

    Left singular vectors matrix of size n*k, singular value vector of length k, and transpose of right singular vectors matrix of size k*m.

  5. final def apply[V1, V2, V3, V4, VR](v1: V1, v2: V2, v3: V3, v4: V4)(implicit impl: Impl4[V1, V2, V3, V4, VR]): VR
    Definition Classes
    UFunc
  6. final def apply[V1, V2, V3, VR](v1: V1, v2: V2, v3: V3)(implicit impl: Impl3[V1, V2, V3, VR]): VR
    Definition Classes
    UFunc
  7. final def apply[V1, V2, VR](v1: V1, v2: V2)(implicit impl: Impl2[V1, V2, VR]): VR
    Definition Classes
    UFunc
  8. final def apply[V, VR](v: V)(implicit impl: Impl[V, VR]): VR
    Definition Classes
    UFunc
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. final def inPlace[V, V2, V3](v: V, v2: V2, v3: V3)(implicit impl: generic.UFunc.InPlaceImpl3[svd.this.type, V, V2, V3]): V
    Definition Classes
    UFunc
  16. final def inPlace[V, V2](v: V, v2: V2)(implicit impl: generic.UFunc.InPlaceImpl2[svd.this.type, V, V2]): V
    Definition Classes
    UFunc
  17. final def inPlace[V](v: V)(implicit impl: generic.UFunc.InPlaceImpl[svd.this.type, V]): V
    Definition Classes
    UFunc
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def withSink[S](s: S): WithSinkHelp[svd.this.type, S]
    Definition Classes
    UFunc
  28. implicit object Svd_DM_Impl extends Impl[DenseMatrix[Double], DenseSVD]
  29. implicit object Svd_DM_Impl_Float extends Impl[DenseMatrix[Float], SDenseSVD]
  30. implicit object Svd_SM_Impl extends Impl2[CSCMatrix[Double], Int, DenseSVD]
  31. object reduced extends UFunc

    Option for computing part of the M-by-N matrix U: The first min(M,N) columns of U and the first min(M,N) rows of V**T are returned in the arrays U and VT;

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from UFunc

Inherited from HasOps

Inherited from AnyRef

Inherited from Any

Ungrouped