breeze.linalg

svd

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
UFunc, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. svd
  2. UFunc
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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 OpMulMatrixDenseVector[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

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 object Svd_DM_Impl extends Impl[DenseMatrix[Double], DenseSVD]

  5. implicit object Svd_DM_Impl_Float extends Impl[DenseMatrix[Float], SDenseSVD]

  6. implicit object Svd_SM_Impl extends Impl2[CSCMatrix[Double], Int, DenseSVD]

  7. implicit def Svd_Sparse_Impl[Mat, MatTranspose](implicit mul: OpMulMatrixDenseVector[Mat], trans: CanTranspose[Mat, MatTranspose], mulTrans: OpMulMatrixDenseVector[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.

  8. 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
  9. final def apply[V1, V2, V3, VR](v1: V1, v2: V2, v3: V3)(implicit impl: Impl3[V1, V2, V3, VR]): VR

    Definition Classes
    UFunc
  10. final def apply[V1, V2, VR](v1: V1, v2: V2)(implicit impl: Impl2[V1, V2, VR]): VR

    Definition Classes
    UFunc
  11. final def apply[V, VR](v: V)(implicit impl: Impl[V, VR]): VR

    Definition Classes
    UFunc
  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. implicit def canZipMapValuesImpl[T, V1, VR, U](implicit handhold: HandHold[T, V1], impl: Impl2[V1, V1, VR], canZipMapValues: CanZipMapValues[T, V1, VR, U]): Impl2[T, T, U]

    Definition Classes
    UFunc
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def inPlace[V, V2, V3](v: V, v2: V2, v3: V3)(implicit impl: generic.UFunc.InPlaceImpl3[svd.this.type, V, V2, V3]): Unit

    Definition Classes
    UFunc
  21. final def inPlace[V, V2](v: V, v2: V2)(implicit impl: generic.UFunc.InPlaceImpl2[svd.this.type, V, V2]): Unit

    Definition Classes
    UFunc
  22. final def inPlace[V](v: V)(implicit impl: generic.UFunc.InPlaceImpl[svd.this.type, V]): Unit

    Definition Classes
    UFunc
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. 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;

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from UFunc

Inherited from AnyRef

Inherited from Any

Ungrouped