public abstract class LevenbergMarquardt
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double |
chiSq |
double |
factor |
int |
iterations |
int |
maxIterations |
double |
precision |
Constructor and Description |
---|
LevenbergMarquardt() |
Modifier and Type | Method and Description |
---|---|
void |
gaussJordan(double[][] left,
double[][] right)
Gauss jordan.
|
abstract double |
getValue(double[] x,
double[] p,
double[] dyda)
Gets the value.
|
static void |
main(java.lang.String[] args)
The main method.
|
double |
solve(double[][] x,
double[] y,
double[] s,
int n,
double[] p,
boolean[] vary,
double[] e,
double lambda)
Solve.
|
public double precision
public int iterations
public int maxIterations
public double chiSq
public double factor
public double solve(double[][] x, double[] y, double[] s, int n, double[] p, boolean[] vary, double[] e, double lambda)
x
- the xy
- the ys
- the sn
- the np
- the pvary
- the varye
- the elambda
- the lambdapublic void gaussJordan(double[][] left, double[][] right)
left
- the leftright
- the rightpublic abstract double getValue(double[] x, double[] p, double[] dyda)
x
- the xp
- the pdyda
- the dydapublic static void main(java.lang.String[] args)
args
- the arguments