edu.jhu.bme.smile.commons.math
Class L1LSCompressedSensingNonNeg

java.lang.Object
  extended by edu.jhu.bme.smile.commons.math.L1LSCompressedSensing
      extended by edu.jhu.bme.smile.commons.math.L1LSCompressedSensingNonNeg

public class L1LSCompressedSensingNonNeg
extends L1LSCompressedSensing

Positively constrained least squares solver

Author:
Hanlin Wan

Field Summary
 
Fields inherited from class edu.jhu.bme.smile.commons.math.L1LSCompressedSensing
A, ALPHA, At, AtA2, BETA, cgA, m, MAX_LS_ITER, MAX_NT_ITER, MU, n, pre, statusConverged, verbose, x
 
Constructor Summary
L1LSCompressedSensingNonNeg(double[][] A)
           
L1LSCompressedSensingNonNeg(Matrix A)
           
 
Method Summary
 boolean solve(Matrix y, double lambda, double reltol, double maxError, boolean allowRestart)
           
 
Methods inherited from class edu.jhu.bme.smile.commons.math.L1LSCompressedSensing
getMatrixResult, getResult, isConvereged, setVerbose, solve, solve, solve, solve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

L1LSCompressedSensingNonNeg

public L1LSCompressedSensingNonNeg(double[][] A)

L1LSCompressedSensingNonNeg

public L1LSCompressedSensingNonNeg(Matrix A)
Method Detail

solve

public boolean solve(Matrix y,
                     double lambda,
                     double reltol,
                     double maxError,
                     boolean allowRestart)
Overrides:
solve in class L1LSCompressedSensing