> implements Seriali
* Test for the equality of two 3D vectors.
*
* If all coordinates of two 3D vectors are exactly the same, and none of their
- * {@link ExtendedFieldElement#getReal() real part} are NaN
, the
+ * {@link RealFieldElement#getReal() real part} are NaN
, the
* two 3D vectors are considered to be equal.
*
*
@@ -937,7 +937,7 @@ public class FieldVector3D> implements Seriali
* @param the type of the field elements
* @return the dot product v1.v2
*/
- public static > T dotProduct(final FieldVector3D v1,
+ public static > T dotProduct(final FieldVector3D v1,
final FieldVector3D v2) {
return v1.dotProduct(v2);
}
@@ -948,7 +948,7 @@ public class FieldVector3D> implements Seriali
* @param the type of the field elements
* @return the dot product v1.v2
*/
- public static > T dotProduct(final FieldVector3D v1,
+ public static > T dotProduct(final FieldVector3D v1,
final Vector3D v2) {
return v1.dotProduct(v2);
}
@@ -959,7 +959,7 @@ public class FieldVector3D> implements Seriali
* @param the type of the field elements
* @return the dot product v1.v2
*/
- public static > T dotProduct(final Vector3D v1,
+ public static > T dotProduct(final Vector3D v1,
final FieldVector3D v2) {
return v2.dotProduct(v1);
}
@@ -970,7 +970,7 @@ public class FieldVector3D> implements Seriali
* @param the type of the field elements
* @return the cross product v1 ^ v2 as a new Vector
*/
- public static > FieldVector3D crossProduct(final FieldVector3D v1,
+ public static > FieldVector3D crossProduct(final FieldVector3D v1,
final FieldVector3D v2) {
return v1.crossProduct(v2);
}
@@ -981,7 +981,7 @@ public class FieldVector3D> implements Seriali
* @param the type of the field elements
* @return the cross product v1 ^ v2 as a new Vector
*/
- public static > FieldVector3D crossProduct(final FieldVector3D v1,
+ public static > FieldVector3D crossProduct(final FieldVector3D v1,
final Vector3D v2) {
return v1.crossProduct(v2);
}
@@ -992,7 +992,7 @@ public class FieldVector3D> implements Seriali
* @param the type of the field elements
* @return the cross product v1 ^ v2 as a new Vector
*/
- public static > FieldVector3D crossProduct(final Vector3D v1,
+ public static > FieldVector3D crossProduct(final Vector3D v1,
final FieldVector3D v2) {
return new FieldVector3D(v2.x.linearCombination(v1.getY(), v2.z, -v1.getZ(), v2.y),
v2.y.linearCombination(v1.getZ(), v2.x, -v1.getX(), v2.z),
@@ -1008,7 +1008,7 @@ public class FieldVector3D> implements Seriali
* @param the type of the field elements
* @return the distance between v1 and v2 according to the L1 norm
*/
- public static > T distance1(final FieldVector3D v1,
+ public static > T distance1(final FieldVector3D v1,
final FieldVector3D v2) {
return v1.distance1(v2);
}
@@ -1022,7 +1022,7 @@ public class FieldVector3D> implements Seriali
* @param the type of the field elements
* @return the distance between v1 and v2 according to the L1 norm
*/
- public static > T distance1(final FieldVector3D v1,
+ public static > T distance1(final FieldVector3D v1,
final Vector3D v2) {
return v1.distance1(v2);
}
@@ -1036,7 +1036,7 @@ public class FieldVector3D> implements Seriali
* @param the type of the field elements
* @return the distance between v1 and v2 according to the L1 norm
*/
- public static > T distance1(final Vector3D v1,
+ public static > T distance1(final Vector3D v1,
final FieldVector3D v2) {
return v2.distance1(v1);
}
@@ -1050,7 +1050,7 @@ public class FieldVector3D> implements Seriali
* @param the type of the field elements
* @return the distance between v1 and v2 according to the L2 norm
*/
- public static > T distance(final FieldVector3D v1,
+ public static > T distance(final FieldVector3D v1,
final FieldVector3D v2) {
return v1.distance(v2);
}
@@ -1064,7 +1064,7 @@ public class FieldVector3D> implements Seriali
* @param the type of the field elements
* @return the distance between v1 and v2 according to the L2 norm
*/
- public static > T distance(final FieldVector3D v1,
+ public static > T distance(final FieldVector3D v1,
final Vector3D v2) {
return v1.distance(v2);
}
@@ -1078,7 +1078,7 @@ public class FieldVector3D> implements Seriali
* @param the type of the field elements
* @return the distance between v1 and v2 according to the L2 norm
*/
- public static > T distance(final Vector3D v1,
+ public static > T distance(final Vector3D v1,
final FieldVector3D v2) {
return v2.distance(v1);
}
@@ -1092,7 +1092,7 @@ public class FieldVector3D> implements Seriali
* @param the type of the field elements
* @return the distance between v1 and v2 according to the L∞ norm
*/
- public static > T distanceInf(final FieldVector3D v1,
+ public static > T distanceInf(final FieldVector3D v1,
final FieldVector3D v2) {
return v1.distanceInf(v2);
}
@@ -1106,7 +1106,7 @@ public class FieldVector3D> implements Seriali
* @param the type of the field elements
* @return the distance between v1 and v2 according to the L∞ norm
*/
- public static > T distanceInf(final FieldVector3D v1,
+ public static > T distanceInf(final FieldVector3D v1,
final Vector3D v2) {
return v1.distanceInf(v2);
}
@@ -1120,7 +1120,7 @@ public class FieldVector3D> implements Seriali
* @param the type of the field elements
* @return the distance between v1 and v2 according to the L∞ norm
*/
- public static > T distanceInf(final Vector3D v1,
+ public static > T distanceInf(final Vector3D v1,
final FieldVector3D v2) {
return v2.distanceInf(v1);
}
@@ -1134,7 +1134,7 @@ public class FieldVector3D> implements Seriali
* @param the type of the field elements
* @return the square of the distance between v1 and v2
*/
- public static > T distanceSq(final FieldVector3D v1,
+ public static > T distanceSq(final FieldVector3D v1,
final FieldVector3D v2) {
return v1.distanceSq(v2);
}
@@ -1148,7 +1148,7 @@ public class FieldVector3D> implements Seriali
* @param the type of the field elements
* @return the square of the distance between v1 and v2
*/
- public static > T distanceSq(final FieldVector3D v1,
+ public static > T distanceSq(final FieldVector3D v1,
final Vector3D v2) {
return v1.distanceSq(v2);
}
@@ -1162,7 +1162,7 @@ public class FieldVector3D> implements Seriali
* @param the type of the field elements
* @return the square of the distance between v1 and v2
*/
- public static > T distanceSq(final Vector3D v1,
+ public static > T distanceSq(final Vector3D v1,
final FieldVector3D v2) {
return v2.distanceSq(v1);
}
diff --git a/src/main/java/org/apache/commons/math3/util/Decimal64.java b/src/main/java/org/apache/commons/math3/util/Decimal64.java
index 19aa7a1e3..f3cc616da 100644
--- a/src/main/java/org/apache/commons/math3/util/Decimal64.java
+++ b/src/main/java/org/apache/commons/math3/util/Decimal64.java
@@ -16,20 +16,20 @@
*/
package org.apache.commons.math3.util;
-import org.apache.commons.math3.ExtendedFieldElement;
+import org.apache.commons.math3.RealFieldElement;
import org.apache.commons.math3.Field;
import org.apache.commons.math3.exception.DimensionMismatchException;
/**
* This class wraps a {@code double} value in an object. It is similar to the
* standard class {@link Double}, while also implementing the
- * {@link ExtendedFieldElement} interface.
+ * {@link RealFieldElement} interface.
*
* @since 3.1
* @version $Id$
*/
public class Decimal64 extends Number
- implements ExtendedFieldElement, Comparable {
+ implements RealFieldElement, Comparable {
/** The constant value of {@code 0d} as a {@code Decimal64}. */
public static final Decimal64 ZERO;
diff --git a/src/test/java/org/apache/commons/math3/ExtendedFieldElementAbstractTest.java b/src/test/java/org/apache/commons/math3/ExtendedFieldElementAbstractTest.java
index 2475a180c..fab4618b9 100644
--- a/src/test/java/org/apache/commons/math3/ExtendedFieldElementAbstractTest.java
+++ b/src/test/java/org/apache/commons/math3/ExtendedFieldElementAbstractTest.java
@@ -23,7 +23,7 @@ import org.apache.commons.math3.util.MathArrays;
import org.junit.Assert;
import org.junit.Test;
-public abstract class ExtendedFieldElementAbstractTest> {
+public abstract class ExtendedFieldElementAbstractTest> {
protected abstract T build(double x);