org.opensha.commons.calc.nnls
Class NNLSWrapper

java.lang.Object
  extended by org.opensha.commons.calc.nnls.NNLSWrapper

public class NNLSWrapper
extends java.lang.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.


Constructor Summary
NNLSWrapper()
           
NNLSWrapper(double[] A_in, int nrows_in, int ncols_in)
           
 
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
 

Constructor Detail

NNLSWrapper

public NNLSWrapper()

NNLSWrapper

public NNLSWrapper(double[] A_in,
                   int nrows_in,
                   int ncols_in)
Method Detail

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)