public final class CommonsMathLinearSystemSolver extends Object
RRQRDecomposition from Commons Math.| Modifier and Type | Field and Description |
|---|---|
static double |
SINGULARITY_THRESHOLD
Threshold below which a value is considered 0 for purposes of deciding that a matrix's singular
value is 0 and therefore is singular
|
| Constructor and Description |
|---|
CommonsMathLinearSystemSolver() |
| Modifier and Type | Method and Description |
|---|---|
Solver |
getSolver(org.apache.commons.math3.linear.RealMatrix M) |
boolean |
isNonSingular(org.apache.commons.math3.linear.RealMatrix M) |
public static final double SINGULARITY_THRESHOLD
public Solver getSolver(org.apache.commons.math3.linear.RealMatrix M)
Solver for A, which can solve Ax = b for x, given b.
Note that this only works for symmetric matrices!public boolean isNonSingular(org.apache.commons.math3.linear.RealMatrix M)
getSolver(RealMatrix) would succeed).
Note that this only works for symmetric matrices!Copyright © 2012-2013 Myrrix Ltd. All Rights Reserved.