SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.matrix.doubles.matrixtype.sparse.solver.iterative
Interface Tolerance

All Known Implementing Classes:
AbsoluteTolerance, RelativeTolerance

public interface Tolerance

The tolerance criteria for the iterative algorithm to stop.


Method Summary
 boolean updateResidualNorm(double norm)
          Check if the updated residual satisfies the tolerance criteria.
 

Method Detail

updateResidualNorm

boolean updateResidualNorm(double norm)
Check if the updated residual satisfies the tolerance criteria.

Parameters:
norm - the norm of the updated residual
Returns:
true if the residual norm is small enough

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.