Wrote 1e-11 instead of 10E-12 (which was probably a typo).

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165416 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gilles Sadowski 2011-09-05 21:22:46 +00:00
parent bf4184310d
commit 3998594624
1 changed files with 5 additions and 2 deletions

View File

@ -33,8 +33,8 @@ import org.apache.commons.math.util.FastMath;
* @since 2.0
*/
public class LUDecompositionImpl implements LUDecomposition {
/** Default bound to determine effective singularity in LU decomposition */
private static final double DEFAULT_TOO_SMALL = 10E-12;
/** Default bound to determine effective singularity in LU decomposition. */
private static final double DEFAULT_TOO_SMALL = 1e-11;
/** Entries of LU decomposition. */
private double lu[][];
/** Pivot permutation associated with LU decomposition */
@ -52,6 +52,9 @@ public class LUDecompositionImpl implements LUDecomposition {
/**
* Calculates the LU-decomposition of the given matrix.
* This constructor uses 1e-11 as default value for the singularity
* threshold.
*
* @param matrix Matrix to decompose.
* @throws NonSquareMatrixException if matrix is not square.
*/