mikera.matrixx.decompose.Bidiagonal Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vectorz Show documentation
Show all versions of vectorz Show documentation
Fast double-precision vector and matrix maths library for Java, supporting N-dimensional numeric arrays.
package mikera.matrixx.decompose;
import mikera.matrixx.AMatrix;
import mikera.matrixx.decompose.impl.bidiagonal.BidiagonalRow;
/**
* API class for performing bidiagonal decompositions
*
* @author Mike
*
*/
public class Bidiagonal {
private Bidiagonal() {
}
/**
* Computes the Bidiagonal decomposition of a matrix A
*
* A = U.B.Vt
*
* Where: B is a bidiagonal matrix
*
* @param A
* @return
*/
public static IBidiagonalResult decompose(AMatrix A) {
return BidiagonalRow.decompose(A);
}
public static IBidiagonalResult decompose(AMatrix A, boolean compact) {
return BidiagonalRow.decompose(A, compact);
}
public static IBidiagonalResult decomposeCompact(AMatrix A) {
return decompose(A, true);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy