Class name change:
  "BaseAbstractVectorialOptimizer" -> "BaseAbstractMultivariateVectorOptimizer"


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1212371 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gilles Sadowski 2011-12-09 12:28:28 +00:00
parent 497d025e1e
commit 86dcb3c6ce
2 changed files with 5 additions and 5 deletions

View File

@ -38,7 +38,7 @@ import org.apache.commons.math.optimization.SimpleVectorialValueChecker;
* @version $Id$
* @since 3.0
*/
public abstract class BaseAbstractVectorialOptimizer<FUNC extends MultivariateVectorFunction>
public abstract class BaseAbstractMultivariateVectorOptimizer<FUNC extends MultivariateVectorFunction>
implements BaseMultivariateVectorOptimizer<FUNC> {
/** Evaluations counter. */
protected final Incrementor evaluations = new Incrementor();
@ -58,13 +58,13 @@ public abstract class BaseAbstractVectorialOptimizer<FUNC extends MultivariateVe
* The convergence check is set to a {@link SimpleVectorialValueChecker} and
* the allowed number of evaluations is set to {@link Integer#MAX_VALUE}.
*/
protected BaseAbstractVectorialOptimizer() {
protected BaseAbstractMultivariateVectorOptimizer() {
this(new SimpleVectorialValueChecker());
}
/**
* @param checker Convergence checker.
*/
protected BaseAbstractVectorialOptimizer(ConvergenceChecker<VectorialPointValuePair> checker) {
protected BaseAbstractMultivariateVectorOptimizer(ConvergenceChecker<VectorialPointValuePair> checker) {
this.checker = checker;
}

View File

@ -28,7 +28,7 @@ import org.apache.commons.math.linear.MatrixUtils;
import org.apache.commons.math.optimization.ConvergenceChecker;
import org.apache.commons.math.optimization.DifferentiableMultivariateVectorOptimizer;
import org.apache.commons.math.optimization.VectorialPointValuePair;
import org.apache.commons.math.optimization.direct.BaseAbstractVectorialOptimizer;
import org.apache.commons.math.optimization.direct.BaseAbstractMultivariateVectorOptimizer;
import org.apache.commons.math.util.FastMath;
/**
@ -49,7 +49,7 @@ import org.apache.commons.math.util.FastMath;
* @since 1.2
*/
public abstract class AbstractLeastSquaresOptimizer
extends BaseAbstractVectorialOptimizer<DifferentiableMultivariateVectorFunction>
extends BaseAbstractMultivariateVectorOptimizer<DifferentiableMultivariateVectorFunction>
implements DifferentiableMultivariateVectorOptimizer {
/** Singularity threshold (cf. {@link #getCovariances(double)}). */
private static final double DEFAULT_SINGULARITY_THRESHOLD = 1e-14;