public class NNLSSolver
extends java.lang.Object
Constructor and Description |
---|
NNLSSolver() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] penguin)
In case you want to test the solver, there is this handy-dandy testing function.
|
static Jama.Matrix |
solveNNLS(Jama.Matrix A,
double[] b) |
static Jama.Matrix |
solveNNLS(Jama.Matrix A,
float[] b)
Whee!!! This is my own Java implementation of the NNLS algorithm
as described in:
Lawson and Hanson, "Solving Least Squares Problems", Prentice-Hall, 1974, Chapter 23, p.
|
static Jama.Matrix |
solveNNLS(Jama.Matrix A,
Jama.Matrix b) |
public static void main(java.lang.String[] penguin)
penguin
- Not used.public static Jama.Matrix solveNNLS(Jama.Matrix A, float[] b)
A
- The A in Ax=bb
- The b in Ax=bpublic static Jama.Matrix solveNNLS(Jama.Matrix A, double[] b)
public static Jama.Matrix solveNNLS(Jama.Matrix A, Jama.Matrix b)