You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2013/03/19 21:13:12 UTC
svn commit: r1458491 - in
/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events:
EventFilter.java FilterType.java
Author: luc
Date: Tue Mar 19 20:13:11 2013
New Revision: 1458491
URL: http://svn.apache.org/r1458491
Log:
Fixed checkstyle warnings.
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/EventFilter.java
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/FilterType.java
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/EventFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/EventFilter.java?rev=1458491&r1=1458490&r2=1458491&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/EventFilter.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/EventFilter.java Tue Mar 19 20:13:11 2013
@@ -19,9 +19,6 @@ package org.apache.commons.math3.ode.eve
import java.util.Arrays;
-import org.apache.commons.math3.ode.FirstOrderIntegrator;
-
-
/** Wrapper used to detect only increasing or decreasing events.
*
* <p>General {@link EventHandler events} are defined implicitely
@@ -41,10 +38,11 @@ import org.apache.commons.math3.ode.Firs
*
* <p>Users can wrap a regular {@link EventHandler event handler} in
* an instance of this class and provide this wrapping instance to
- * the {@link FirstOrderIntegrator ODE solver} in order to avoid wasting
- * time looking for uninteresting events. The wrapper will intercept
- * the calls to the {@link EventHandler#g(double, double[]) g function}
- * and to the {@link EventHandler#eventOccurred(double, double[], boolean)
+ * the {@link org.apache.commons.math3.ode.FirstOrderIntegrator ODE solver}
+ * in order to avoid wasting time looking for uninteresting events.
+ * The wrapper will intercept the calls to the {@link
+ * EventHandler#g(double, double[]) g function} and to the {@link
+ * EventHandler#eventOccurred(double, double[], boolean)
* eventOccurred} method in order to ignore uninteresting events. The
* wrapped regular {@link EventHandler event handler} will the see only
* the interesting events, i.e. either only {@code increasing} events or
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/FilterType.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/FilterType.java?rev=1458491&r1=1458490&r2=1458491&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/FilterType.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/FilterType.java Tue Mar 19 20:13:11 2013
@@ -18,8 +18,6 @@
package org.apache.commons.math3.ode.events;
import org.apache.commons.math3.exception.MathInternalError;
-import org.apache.commons.math3.util.Precision;
-
/** Enumerate for {@link EventFilter filtering events}.
*
@@ -72,7 +70,7 @@ public enum FilterType {
* \_/ \ / \_/ \
* ------ ---------- 0 ----------_---------- 0 --------------------- 0 ---
* \ / \ / \
- * h=max(+s,-g,+g) \ / \ / h=max(+s,-g,+g) \
+ * h=max(+s,-g,+g) \ / \ / h=max(+s,-g,+g) \
* \ / \ / h=-g \ /
* \___/ \___/ \___/
* </pre>
@@ -85,7 +83,7 @@ public enum FilterType {
* <li>h = min(-s,-g,+g)</li>
* <li>h = -g</li>
* </ul>
- * where s is a tiny positive value: {@link Precision#SAFE_MIN}.
+ * where s is a tiny positive value: {@link org.apache.commons.math3.util.Precision#SAFE_MIN}.
* </p>
*/
protected Transformer selectTransformer(final Transformer previous,
@@ -261,7 +259,7 @@ public enum FilterType {
* <li>h = min(-s,-g,+g)</li>
* <li>h = -g</li>
* </ul>
- * where s is a tiny positive value: {@link Precision#SAFE_MIN}.
+ * where s is a tiny positive value: {@link org.apache.commons.math3.util.Precision#SAFE_MIN}.
* </p>
*/
protected Transformer selectTransformer(final Transformer previous,