From e92a93d217b769d5f40a2d7af1392ad44a178c53 Mon Sep 17 00:00:00 2001 From: Luc Maisonobe Date: Sun, 30 Sep 2007 16:57:45 +0000 Subject: [PATCH] fixed typos git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@580751 13f79535-47bb-0310-9956-ffa450edef68 --- .../commons/math/estimation/WeightedMeasurement.java | 2 +- .../apache/commons/math/ode/ContinuousOutputModel.java | 2 +- .../commons/math/ode/FirstOrderDifferentialEquations.java | 2 +- .../math/ode/SecondOrderDifferentialEquations.java | 2 +- src/java/org/apache/commons/math/ode/SwitchState.java | 6 +++--- .../org/apache/commons/math/ode/SwitchingFunction.java | 8 ++++---- .../commons/math/ode/SwitchingFunctionsHandler.java | 4 ++-- .../math/random/CorrelatedRandomVectorGenerator.java | 4 ++-- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/java/org/apache/commons/math/estimation/WeightedMeasurement.java b/src/java/org/apache/commons/math/estimation/WeightedMeasurement.java index 4a6dd70cc..20a525278 100644 --- a/src/java/org/apache/commons/math/estimation/WeightedMeasurement.java +++ b/src/java/org/apache/commons/math/estimation/WeightedMeasurement.java @@ -34,7 +34,7 @@ import java.io.Serializable; * parameters can be retrieved through the {@link * EstimationProblem#getAllParameters * EstimationProblem.getAllParameters} method if the measurements are - * independant of the problem, or directly if they are implemented as + * independent of the problem, or directly if they are implemented as * inner classes of the problem.

* *

The instances for which the ignored flag is set diff --git a/src/java/org/apache/commons/math/ode/ContinuousOutputModel.java b/src/java/org/apache/commons/math/ode/ContinuousOutputModel.java index 02327d620..778ce2db4 100644 --- a/src/java/org/apache/commons/math/ode/ContinuousOutputModel.java +++ b/src/java/org/apache/commons/math/ode/ContinuousOutputModel.java @@ -38,7 +38,7 @@ import java.io.Serializable; * variables are set only once the last step has been handled.

*

This is useful for example if the main loop of the user - * application should remain independant from the integration process + * application should remain independent from the integration process * or if one needs to mimic the behaviour of an analytical model * despite a numerical model is used (i.e. one needs the ability to * get the model value at any time or to navigate through the diff --git a/src/java/org/apache/commons/math/ode/FirstOrderDifferentialEquations.java b/src/java/org/apache/commons/math/ode/FirstOrderDifferentialEquations.java index ab596a61d..4ab9ca12c 100644 --- a/src/java/org/apache/commons/math/ode/FirstOrderDifferentialEquations.java +++ b/src/java/org/apache/commons/math/ode/FirstOrderDifferentialEquations.java @@ -52,7 +52,7 @@ public interface FirstOrderDifferentialEquations { public int getDimension(); /** Get the current time derivative of the state vector. - * @param t current value of the independant time variable + * @param t current value of the independent time variable * @param y array containing the current value of the state vector * @param yDot placeholder array where to put the time derivative of the state vector * @throws DerivativeException this exception is propagated to the caller if the diff --git a/src/java/org/apache/commons/math/ode/SecondOrderDifferentialEquations.java b/src/java/org/apache/commons/math/ode/SecondOrderDifferentialEquations.java index 0fda01bbc..2afe1e206 100644 --- a/src/java/org/apache/commons/math/ode/SecondOrderDifferentialEquations.java +++ b/src/java/org/apache/commons/math/ode/SecondOrderDifferentialEquations.java @@ -53,7 +53,7 @@ public interface SecondOrderDifferentialEquations { public int getDimension(); /** Get the current time derivative of the state vector. - * @param t current value of the independant time variable + * @param t current value of the independent time variable * @param y array containing the current value of the state vector * @param yDot array containing the current value of the first derivative * of the state vector diff --git a/src/java/org/apache/commons/math/ode/SwitchState.java b/src/java/org/apache/commons/math/ode/SwitchState.java index 91ff51bd1..51a512c10 100644 --- a/src/java/org/apache/commons/math/ode/SwitchState.java +++ b/src/java/org/apache/commons/math/ode/SwitchState.java @@ -105,7 +105,7 @@ class SwitchState implements Serializable { } /** Reinitialize the beginning of the step. - * @param t0 value of the independant time variable at the + * @param t0 value of the independent time variable at the * beginning of the step * @param y0 array containing the current value of the state vector * at the beginning of the step @@ -210,7 +210,7 @@ class SwitchState implements Serializable { } /** Acknowledge the fact the step has been accepted by the integrator. - * @param t value of the independant time variable at the + * @param t value of the independent time variable at the * end of the step * @param y array containing the current value of the state vector * at the end of the step @@ -240,7 +240,7 @@ class SwitchState implements Serializable { } /** Let the switching function reset the state if it wants. - * @param t value of the independant time variable at the + * @param t value of the independent time variable at the * beginning of the next step * @param y array were to put the desired state vector at the beginning * of the next step diff --git a/src/java/org/apache/commons/math/ode/SwitchingFunction.java b/src/java/org/apache/commons/math/ode/SwitchingFunction.java index b9d7193a2..634f95330 100644 --- a/src/java/org/apache/commons/math/ode/SwitchingFunction.java +++ b/src/java/org/apache/commons/math/ode/SwitchingFunction.java @@ -31,7 +31,7 @@ import java.io.Serializable; * the name switching functions.

* *

Since events are only problem-dependent and are triggered by the - * independant time variable and the state vector, they can + * independent time variable and the state vector, they can * occur at virtually any time, unknown in advance. The integrators will * take care to avoid sign changes inside the steps, they will reduce * the step size when such an event is detected in order to put this @@ -88,7 +88,7 @@ public interface SwitchingFunction extends Serializable { * function must be continuous (at least in its roots neighborhood), * as the integrator will need to find its roots to locate the events.

- * @param t current value of the independant time variable + * @param t current value of the independent time variable * @param y array containing the current value of the state vector * @return value of the g function */ @@ -122,7 +122,7 @@ public interface SwitchingFunction extends Serializable { * will continue. * - * @param t current value of the independant time variable + * @param t current value of the independent time variable * @param y array containing the current value of the state vector * @return indication of what the integrator should do next, this * value must be one of {@link #STOP}, {@link #RESET_STATE}, @@ -141,7 +141,7 @@ public interface SwitchingFunction extends Serializable { * #RESET_STATE} indicator, this function will never be called, and it is * safe to leave its body empty.

- * @param t current value of the independant time variable + * @param t current value of the independent time variable * @param y array containing the current value of the state vector * the new state should be put in the same array */ diff --git a/src/java/org/apache/commons/math/ode/SwitchingFunctionsHandler.java b/src/java/org/apache/commons/math/ode/SwitchingFunctionsHandler.java index 44f07dcec..fe558470a 100644 --- a/src/java/org/apache/commons/math/ode/SwitchingFunctionsHandler.java +++ b/src/java/org/apache/commons/math/ode/SwitchingFunctionsHandler.java @@ -136,7 +136,7 @@ public class SwitchingFunctionsHandler { /** Inform the switching functions that the step has been accepted * by the integrator. - * @param t value of the independant time variable at the + * @param t value of the independent time variable at the * end of the step * @param y array containing the current value of the state vector * at the end of the step @@ -161,7 +161,7 @@ public class SwitchingFunctionsHandler { } /** Let the switching functions reset the state if they want. - * @param t value of the independant time variable at the + * @param t value of the independent time variable at the * beginning of the next step * @param y array were to put the desired state vector at the beginning * of the next step diff --git a/src/java/org/apache/commons/math/random/CorrelatedRandomVectorGenerator.java b/src/java/org/apache/commons/math/random/CorrelatedRandomVectorGenerator.java index 60140d574..2c47f4000 100644 --- a/src/java/org/apache/commons/math/random/CorrelatedRandomVectorGenerator.java +++ b/src/java/org/apache/commons/math/random/CorrelatedRandomVectorGenerator.java @@ -40,7 +40,7 @@ import org.apache.commons.math.linear.RealMatrixImpl; * GaussianRandomGenerator} or {@link UniformRandomGenerator}.

*

Sometimes, the covariance matrix for a given simulation is not * strictly positive definite. This means that the correlations are - * not all independant from each other. In this case, however, the non + * not all independent from each other. In this case, however, the non * strictly positive elements found during the Cholesky decomposition * of the covariance matrix should not be negative either, they * should be null. Another non-conventional extension handling this case @@ -141,7 +141,7 @@ implements RandomVectorGenerator { } /** Get the rank of the covariance matrix. - * The rank is the number of independant rows in the covariance + * The rank is the number of independent rows in the covariance * matrix, it is also the number of columns of the rectangular * matrix of the decomposition. * @return rank of the square matrix.