mirror of
https://github.com/apache/commons-math.git
synced 2025-02-07 02:29:20 +00:00
renamed SimpleValueChecker into SimpleScalarValueChecker
for consistency with the vectorial checker name git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@757180 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
39647f7f30
commit
cfa4345431
@ -31,7 +31,7 @@ import org.apache.commons.math.util.MathUtils;
|
|||||||
* @version $Revision$ $Date$
|
* @version $Revision$ $Date$
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
public class SimpleValueChecker implements ScalarConvergenceChecker {
|
public class SimpleScalarValueChecker implements ScalarConvergenceChecker {
|
||||||
|
|
||||||
/** Serializable version identifier. */
|
/** Serializable version identifier. */
|
||||||
private static final long serialVersionUID = 2490271385513842607L;
|
private static final long serialVersionUID = 2490271385513842607L;
|
||||||
@ -50,7 +50,7 @@ public class SimpleValueChecker implements ScalarConvergenceChecker {
|
|||||||
|
|
||||||
/** Build an instance with default threshold.
|
/** Build an instance with default threshold.
|
||||||
*/
|
*/
|
||||||
public SimpleValueChecker() {
|
public SimpleScalarValueChecker() {
|
||||||
this.relativeThreshold = DEFAULT_RELATIVE_THRESHOLD;
|
this.relativeThreshold = DEFAULT_RELATIVE_THRESHOLD;
|
||||||
this.absoluteThreshold = DEFAULT_ABSOLUTE_THRESHOLD;
|
this.absoluteThreshold = DEFAULT_ABSOLUTE_THRESHOLD;
|
||||||
}
|
}
|
||||||
@ -64,7 +64,7 @@ public class SimpleValueChecker implements ScalarConvergenceChecker {
|
|||||||
* @param relativeThreshold relative tolerance threshold
|
* @param relativeThreshold relative tolerance threshold
|
||||||
* @param absoluteThreshold absolute tolerance threshold
|
* @param absoluteThreshold absolute tolerance threshold
|
||||||
*/
|
*/
|
||||||
public SimpleValueChecker(final double relativeThreshold,
|
public SimpleScalarValueChecker(final double relativeThreshold,
|
||||||
final double absoluteThreshold) {
|
final double absoluteThreshold) {
|
||||||
this.relativeThreshold = relativeThreshold;
|
this.relativeThreshold = relativeThreshold;
|
||||||
this.absoluteThreshold = absoluteThreshold;
|
this.absoluteThreshold = absoluteThreshold;
|
Loading…
x
Reference in New Issue
Block a user