mikera.matrixx.decompose
Class QR
- java.lang.Object
-
- mikera.matrixx.decompose.QR
-
public class QR extends java.lang.ObjectPublic API class for QR decomposition QR decomposition decomposes any matrix A such that: A = Q.R Where: Q is an orthogonal matrix R is an upper triangular matrix
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static IQRResultdecompose(AMatrix matrix)Computes the QR factorisation of a matrix A such that: A = Q.R Where: Q is an orthogonal matrix R is an upper triangular matrix If A is rectangular (m x n where m>n) then Q will also be (m x n)static IQRResultdecompose(AMatrix matrix, boolean compact)Computes the QR factorisation of a matrix A such that: A = Q.R Where: Q is an orthogonal matrix R is an upper triangular matrix If A is rectangular (m x n where m>n) then Q will also be (m x n)static IQRResultdecomposeCompact(AMatrix matrix)Computes the QR factorisation of a matrix A such that: A = Q.R Where: Q is an orthogonal matrix R is an upper triangular matrix If A is rectangular (m x n where m>n) then Q will also be (m x n)
-
-
-
Method Detail
-
decompose
public static IQRResult decompose(AMatrix matrix)
Computes the QR factorisation of a matrix A such that: A = Q.R Where: Q is an orthogonal matrix R is an upper triangular matrix If A is rectangular (m x n where m>n) then Q will also be (m x n)- Parameters:
matrix-- Returns:
-
decompose
public static IQRResult decompose(AMatrix matrix, boolean compact)
Computes the QR factorisation of a matrix A such that: A = Q.R Where: Q is an orthogonal matrix R is an upper triangular matrix If A is rectangular (m x n where m>n) then Q will also be (m x n)- Parameters:
matrix-- Returns:
-
-
DMelt 3.0 © DataMelt by jWork.ORG