org.opensha.commons.calc.nnls
Class NNLSWrapper
java.lang.Object
org.opensha.commons.calc.nnls.NNLSWrapper
public class NNLSWrapper
- extends Object
NNLS class is strictly a wrapper for the fortran->C->Java
nnls code. Nothing else should be done here except
things that are needed for the wrapper.
|
Method Summary |
boolean |
solve(double[] b,
double[] x)
|
void |
update(double[] A)
|
void |
update(double[] A_in,
int nrows_in,
int ncols_in)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NNLSWrapper
public NNLSWrapper()
NNLSWrapper
public NNLSWrapper(double[] A_in,
int nrows_in,
int ncols_in)
update
public void update(double[] A)
update
public void update(double[] A_in,
int nrows_in,
int ncols_in)
solve
public boolean solve(double[] b,
double[] x)