mikera.matrixx.decompose.impl.lu
Class LUPResult
- java.lang.Object
-
- mikera.matrixx.decompose.impl.lu.LUPResult
-
- All Implemented Interfaces:
- ILUPResult, ILUResult
public class LUPResult extends java.lang.Object implements ILUPResult
-
-
Constructor Summary
Constructors Constructor and Description LUPResult(AMatrix l, AMatrix u)LUPResult(AMatrix l, AMatrix u, PermutationMatrix p)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublecomputeDeterminant()Computes the determinant from the LU decomposition.AMatrixgetL()Returns the L matrix from the decomposition.PermutationMatrixgetP()Returns the P matrix from the decomposition.AMatrixgetU()Returns the U matrix from the decomposition.
-
-
-
Constructor Detail
-
LUPResult
public LUPResult(AMatrix l, AMatrix u, PermutationMatrix p)
-
-
Method Detail
-
getL
public AMatrix getL()
Description copied from interface:ILUResultReturns the L matrix from the decomposition. This matrix will have ones on the leading diagonal.
-
getU
public AMatrix getU()
Description copied from interface:ILUResultReturns the U matrix from the decomposition.
-
getP
public PermutationMatrix getP()
Description copied from interface:ILUPResultReturns the P matrix from the decomposition.
- Specified by:
getPin interfaceILUPResult- Returns:
- The P matrix.
-
computeDeterminant
public double computeDeterminant()
Description copied from interface:ILUResultComputes the determinant from the LU decomposition.- Specified by:
computeDeterminantin interfaceILUResult- Returns:
- The matrix's determinant.
-
-
DMelt 3.0 © DataMelt by jWork.ORG