All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mikera.matrixx.decompose.Bidiagonal Maven / Gradle / Ivy

Go to download

Fast double-precision vector and matrix maths library for Java, supporting N-dimensional numeric arrays.

There is a newer version: 0.67.0
Show newest version
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