[Math] Change on branch "master": Commons Math MasterBranch - Build # 72 - Aborted

2017-06-02 Thread Apache Jenkins Server
The Apache Jenkins build system has built Commons Math MasterBranch (build #72)

Status: Aborted

Check console output at 
https://builds.apache.org/job/Commons%20Math%20MasterBranch/72/ to view the 
results.

[2/2] [math] MATH-1416: Delete functionality available in "Commons Numbers".

2017-06-02 Thread erans
MATH-1416: Delete functionality available in "Commons Numbers".


Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/6f27b4ae
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/6f27b4ae
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/6f27b4ae

Branch: refs/heads/master
Commit: 6f27b4ae8f8ecb62698e760ab7df3973874b1f51
Parents: af7f247
Author: Gilles 
Authored: Sat Jun 3 02:31:16 2017 +0200
Committer: Gilles 
Committed: Sat Jun 3 02:31:16 2017 +0200

--
 .../apache/commons/math4/util/MathUtils.java| 23 ---
 .../commons/math4/util/MathUtilsTest.java   | 24 +---
 2 files changed, 6 insertions(+), 41 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-math/blob/6f27b4ae/src/main/java/org/apache/commons/math4/util/MathUtils.java
--
diff --git a/src/main/java/org/apache/commons/math4/util/MathUtils.java 
b/src/main/java/org/apache/commons/math4/util/MathUtils.java
index e42f449..3031465 100644
--- a/src/main/java/org/apache/commons/math4/util/MathUtils.java
+++ b/src/main/java/org/apache/commons/math4/util/MathUtils.java
@@ -85,29 +85,6 @@ public final class MathUtils {
 return Arrays.hashCode(value);
 }
 
-/**
- * Normalize an angle in a 2 wide interval around a center value.
- * This method has three main uses:
- * 
- *   normalize an angle between 0 and 2:
- *   {@code a = MathUtils.normalizeAngle(a, FastMath.PI);}
- *   normalize an angle between - and +
- *   {@code a = MathUtils.normalizeAngle(a, 0.0);}
- *   compute the angle between two defining angular positions:
- *   {@code angle = MathUtils.normalizeAngle(end, start) - start;}
- * 
- * Note that due to numerical accuracy and since  cannot be 
represented
- * exactly, the result interval is closed, it cannot be 
half-closed
- * as would be more satisfactory in a purely mathematical view.
- * @param a angle to normalize
- * @param center center of the desired 2 interval for the result
- * @return a-2k with integer k and center- = a-2k = 
center+
- * @since 1.2
- */
- public static double normalizeAngle(double a, double center) {
- return a - TWO_PI * FastMath.floor((a + FastMath.PI - center) / 
TWO_PI);
- }
-
  /** Find the maximum of two field elements.
   * @param  the type of the field elements
   * @param e1 first element

http://git-wip-us.apache.org/repos/asf/commons-math/blob/6f27b4ae/src/test/java/org/apache/commons/math4/util/MathUtilsTest.java
--
diff --git a/src/test/java/org/apache/commons/math4/util/MathUtilsTest.java 
b/src/test/java/org/apache/commons/math4/util/MathUtilsTest.java
index 2e116a2..2536f84 100644
--- a/src/test/java/org/apache/commons/math4/util/MathUtilsTest.java
+++ b/src/test/java/org/apache/commons/math4/util/MathUtilsTest.java
@@ -13,6 +13,7 @@
  */
 package org.apache.commons.math4.util;
 
+import org.apache.commons.numbers.angle.PlaneAngleRadians;
 import org.apache.commons.math4.distribution.RealDistribution;
 import org.apache.commons.math4.distribution.UniformRealDistribution;
 import org.apache.commons.math4.exception.MathArithmeticException;
@@ -154,19 +155,6 @@ public final class MathUtilsTest {
 }
 
 @Test
-public void testNormalizeAngle() {
-for (double a = -15.0; a <= 15.0; a += 0.1) {
-for (double b = -15.0; b <= 15.0; b += 0.2) {
-double c = MathUtils.normalizeAngle(a, b);
-Assert.assertTrue((b - FastMath.PI) <= c);
-Assert.assertTrue(c <= (b + FastMath.PI));
-double twoK = FastMath.rint((a - c) / FastMath.PI);
-Assert.assertEquals(c, a - twoK * FastMath.PI, 1.0e-14);
-}
-}
-}
-
-@Test
 public void testReduce() {
 final double period = -12.222;
 final double offset = 13;
@@ -220,15 +208,15 @@ public final class MathUtilsTest {
 }
 
 @Test
-public void testReduceComparedWithNormalizeAngle() {
-final double tol = Math.ulp(1d);
+public void testReduceComparedWithNormalize() {
 final double period = 2 * Math.PI;
 for (double a = -15; a <= 15; a += 0.5) {
 for (double center = -15; center <= 15; center += 1) {
-final double nA = MathUtils.normalizeAngle(a, center);
+final double nA = PlaneAngleRadians.normalize(a, center);
 final double offset = center - Math.PI;
-final double r = MathUtils.reduce(a, period, offset);
-

[1/2] [math] MATH-1416: Depend on "Commons Numbers".

2017-06-02 Thread erans
Repository: commons-math
Updated Branches:
  refs/heads/master d9979fa97 -> 6f27b4ae8


MATH-1416: Depend on "Commons Numbers".

Use utility methods now defined in module "commons-numbers-angle".


Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/af7f247b
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/af7f247b
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/af7f247b

Branch: refs/heads/master
Commit: af7f247b648bb255307c87764c787c0f0fff8df9
Parents: d9979fa
Author: Gilles 
Authored: Sat Jun 3 02:29:30 2017 +0200
Committer: Gilles 
Committed: Sat Jun 3 02:29:30 2017 +0200

--
 pom.xml   |  6 ++
 .../commons/math4/geometry/euclidean/twod/Line.java   | 10 +-
 .../apache/commons/math4/geometry/spherical/oned/Arc.java |  5 +++--
 .../commons/math4/geometry/spherical/oned/ArcsSet.java|  7 ---
 .../commons/math4/geometry/spherical/oned/S1Point.java|  3 ++-
 .../commons/math4/geometry/spherical/twod/Edge.java   |  3 ++-
 .../commons/math4/fitting/HarmonicCurveFitterTest.java|  9 +
 .../geometry/euclidean/threed/FieldRotationDSTest.java|  4 ++--
 .../geometry/euclidean/threed/FieldRotationDfpTest.java   |  4 ++--
 .../math4/geometry/euclidean/threed/RotationTest.java |  4 ++--
 10 files changed, 33 insertions(+), 22 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-math/blob/af7f247b/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 43346cf..3a754a2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -388,6 +388,12 @@
 
 
   org.apache.commons
+  commons-numbers-angle
+  1.0-SNAPSHOT
+
+
+
+  org.apache.commons
   commons-rng-client-api
   1.0
 

http://git-wip-us.apache.org/repos/asf/commons-math/blob/af7f247b/src/main/java/org/apache/commons/math4/geometry/euclidean/twod/Line.java
--
diff --git 
a/src/main/java/org/apache/commons/math4/geometry/euclidean/twod/Line.java 
b/src/main/java/org/apache/commons/math4/geometry/euclidean/twod/Line.java
index 076179b..c25d6fa 100644
--- a/src/main/java/org/apache/commons/math4/geometry/euclidean/twod/Line.java
+++ b/src/main/java/org/apache/commons/math4/geometry/euclidean/twod/Line.java
@@ -17,6 +17,7 @@
 package org.apache.commons.math4.geometry.euclidean.twod;
 
 import org.apache.commons.numbers.arrays.LinearCombination;
+import org.apache.commons.numbers.angle.PlaneAngleRadians;
 import org.apache.commons.math4.exception.MathIllegalArgumentException;
 import org.apache.commons.math4.exception.util.LocalizedFormats;
 import org.apache.commons.math4.geometry.Point;
@@ -59,7 +60,6 @@ import org.apache.commons.math4.util.MathUtils;
  * @since 3.0
  */
 public class Line implements Hyperplane, Embedding {
-
 /** Angle with respect to the abscissa axis. */
 private double angle;
 
@@ -125,7 +125,7 @@ public class Line implements Hyperplane, 
Embedding

[commons-fileupload] Git Push Summary

2017-06-02 Thread chtompki
Repository: commons-fileupload
Updated Branches:
  refs/heads/b1_4 [created] dd8e6fa57


Message from KM_C224e

2017-06-02 Thread copier


SKM_C224e38849011705.pdf
Description: Adobe PDF document


commons-compress git commit: fix variable name in examples

2017-06-02 Thread bodewig
Repository: commons-compress
Updated Branches:
  refs/heads/master 9aae1f8aa -> 223b5d9f7


fix variable name in examples


Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/223b5d9f
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/223b5d9f
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/223b5d9f

Branch: refs/heads/master
Commit: 223b5d9f7533d769d228ee3417d5f44f411c8b6f
Parents: 9aae1f8
Author: Stefan Bodewig 
Authored: Fri Jun 2 12:29:06 2017 +0200
Committer: Stefan Bodewig 
Committed: Fri Jun 2 12:29:06 2017 +0200

--
 src/site/xdoc/examples.xml | 16 
 1 file changed, 8 insertions(+), 8 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/223b5d9f/src/site/xdoc/examples.xml
--
diff --git a/src/site/xdoc/examples.xml b/src/site/xdoc/examples.xml
index 7a9ae0d..87fee1a 100644
--- a/src/site/xdoc/examples.xml
+++ b/src/site/xdoc/examples.xml
@@ -530,7 +530,7 @@ bzIn.close();