List of usage examples for org.apache.commons.math3.linear LUDecomposition getPivot
public int[] getPivot()
From source file:com.opengamma.strata.math.impl.linearalgebra.LUDecompositionCommonsResult.java
/** * @param lu The result of the LU decomposition, not null. $\mathbf{L}$ cannot be singular. *///w w w. j a v a 2 s .c o m public LUDecompositionCommonsResult(LUDecomposition lu) { ArgChecker.notNull(lu, "LU decomposition"); ArgChecker.notNull(lu.getL(), "Matrix is singular; could not perform LU decomposition"); _determinant = lu.getDeterminant(); _l = CommonsMathWrapper.unwrap(lu.getL()); _p = CommonsMathWrapper.unwrap(lu.getP()); _pivot = lu.getPivot(); _solver = lu.getSolver(); _u = CommonsMathWrapper.unwrap(lu.getU()); }