SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.matrix.doubles.factorization.triangle
Interface LUDecomposition

All Known Implementing Classes:
Doolittle, GaussianElimination4SquareMatrix, LU

public interface LUDecomposition

All LU decomposition algorithms implement this interface.


Method Summary
 LowerTriangularMatrix L()
          Get a copy of the lower triangular matrix L as in P %*% A == L %*% U
 PermutationMatrix P()
          Get a copy of the permutation matrix P as in P %*% A == L %*% U
 UpperTriangularMatrix U()
          Get a copy of the upper triangular matrix U as in P %*% A == L %*% U
 

Method Detail

L

LowerTriangularMatrix L()
Get a copy of the lower triangular matrix L as in
P %*% A == L %*% U

Returns:
a copy of L

U

UpperTriangularMatrix U()
Get a copy of the upper triangular matrix U as in
P %*% A == L %*% U

Returns:
a copy of U

P

PermutationMatrix P()
Get a copy of the permutation matrix P as in
P %*% A == L %*% U

Returns:
a copy of P

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.