commons-numbers.git
8 days agoMerge branch 'task__NUMBERS-89__matt' master
Gilles Sadowski [Mon, 7 Jan 2019 15:20:17 +0000 (16:20 +0100)] 
Merge branch 'task__NUMBERS-89__matt'

Closes #27.

8 days agoNit.
Gilles Sadowski [Mon, 7 Jan 2019 15:16:19 +0000 (16:16 +0100)] 
Nit.

8 days agoupdating docs to specify the order of quaternion components; renaming parameters...
Matt Juntunen [Sun, 23 Dec 2018 13:47:07 +0000 (08:47 -0500)] 
updating docs to specify the order of quaternion components; renaming parameters to match component names

8 days agoNUMBERS-89: changing dotProduct() to dot() to match convention in commons-geometry
Matt Juntunen [Sun, 23 Dec 2018 13:25:16 +0000 (08:25 -0500)] 
NUMBERS-89: changing dotProduct() to dot() to match convention in commons-geometry

3 weeks agoMerge branch 'fix_NUMBERS-87__roman'
Gilles Sadowski [Sun, 23 Dec 2018 23:36:21 +0000 (00:36 +0100)] 
Merge branch 'fix_NUMBERS-87__roman'

Closes #25.

3 weeks ago[NUMBERS-87] Avoid unnecessary allocations in production code 25/head
Roman Leventov [Sun, 23 Dec 2018 11:21:40 +0000 (12:21 +0100)] 
[NUMBERS-87] Avoid unnecessary allocations in production code

3 weeks agoMerge branch 'task_NUMBERS-86__matt'
Gilles Sadowski [Sat, 22 Dec 2018 23:01:45 +0000 (00:01 +0100)] 
Merge branch 'task_NUMBERS-86__matt'

Closes #24.

3 weeks agoNUMBERS-86: updating Slerp javadocs to specify that the output quaternions are in... 24/head
Matt Juntunen [Sat, 22 Dec 2018 19:46:07 +0000 (14:46 -0500)] 
NUMBERS-86: updating Slerp javadocs to specify that the output quaternions are in positive polar form

3 weeks agoNUMBERS-86: fixing issue with Slerp.apply() returning end quaternion that is not...
Matt Juntunen [Sat, 22 Dec 2018 19:44:13 +0000 (14:44 -0500)] 
NUMBERS-86: fixing issue with Slerp.apply() returning end quaternion that is not in positive polar format

3 weeks agoNUMBERS-86: adding Slerp unit tests; tests currently fail
Matt Juntunen [Sat, 22 Dec 2018 19:41:40 +0000 (14:41 -0500)] 
NUMBERS-86: adding Slerp unit tests; tests currently fail

4 weeks agoUpgrade dependencies.
Gilles Sadowski [Mon, 17 Dec 2018 19:57:51 +0000 (20:57 +0100)] 
Upgrade dependencies.

Build now passes on JDK 10.  Thanks to Stefan Bodewig.

4 weeks agoMake class final ("ValJO" requirement).
Gilles Sadowski [Mon, 17 Dec 2018 12:04:14 +0000 (13:04 +0100)] 
Make class final ("ValJO" requirement).

4 weeks agoNUMBERS-83: Replace calls to JDK deprecated API.
Gilles Sadowski [Mon, 17 Dec 2018 11:59:24 +0000 (12:59 +0100)] 
NUMBERS-83: Replace calls to JDK deprecated API.

4 weeks agoNUMBERS-83: Replace calls to JDK deprecated API.
Gilles Sadowski [Mon, 17 Dec 2018 11:36:55 +0000 (12:36 +0100)] 
NUMBERS-83: Replace calls to JDK deprecated API.

4 weeks agoMerge branch 'task_NUMBERS-25__gimo'
Gilles Sadowski [Sun, 16 Dec 2018 19:28:36 +0000 (20:28 +0100)] 
Merge branch 'task_NUMBERS-25__gimo'

Closes #22.

4 weeks agoJavadoc (remove spurious lines).
Gilles Sadowski [Sun, 16 Dec 2018 19:27:50 +0000 (20:27 +0100)] 
Javadoc (remove spurious lines).

4 weeks agoNUMBERS-25: Remove @since javadoc tags
ngimhana [Sun, 16 Dec 2018 12:34:49 +0000 (18:04 +0530)] 
NUMBERS-25: Remove @since javadoc tags

4 weeks agoNUMBERS-85: Implement the "slerp" algorithm.
Gilles Sadowski [Sun, 16 Dec 2018 00:46:09 +0000 (01:46 +0100)] 
NUMBERS-85: Implement the "slerp" algorithm.

Unit tests are missing; they must be adapted from the test suite in "Commons Geometry".

4 weeks agoNit (less verbose unit tests).
Gilles Sadowski [Fri, 14 Dec 2018 15:30:02 +0000 (16:30 +0100)] 
Nit (less verbose unit tests).

4 weeks agoMerge branch 'fix_NUMBERS-84__matt'
Gilles Sadowski [Fri, 14 Dec 2018 13:44:42 +0000 (14:44 +0100)] 
Merge branch 'fix_NUMBERS-84__matt'

Closes #21.

4 weeks agoOrdering of the preconditions.
Gilles Sadowski [Fri, 14 Dec 2018 13:41:25 +0000 (14:41 +0100)] 
Ordering of the preconditions.

4 weeks agoNUMBERS-84: Adding NaN and infinite checks to Quaternion normalize() and inverse()
Matt Juntunen [Fri, 14 Dec 2018 12:48:31 +0000 (07:48 -0500)] 
NUMBERS-84: Adding NaN and infinite checks to Quaternion normalize() and inverse()

4 weeks agoUnit tests.
Gilles Sadowski [Fri, 14 Dec 2018 13:29:22 +0000 (14:29 +0100)] 
Unit tests.

4 weeks agoCheckStyle.
Gilles Sadowski [Fri, 14 Dec 2018 13:23:26 +0000 (14:23 +0100)] 
CheckStyle.

4 weeks agoNUMBERS-76: Refactoring so class can be final (ValJO criterion).
Gilles Sadowski [Fri, 14 Dec 2018 04:24:40 +0000 (05:24 +0100)] 
NUMBERS-76: Refactoring so class can be final (ValJO criterion).

Instead of overriding methods, specialized implementations are triggered according to a "type" instance field.

A couple of methods and a constant were renamed.

4 weeks agoNUMBERS-21: Target Java 8.
Gilles Sadowski [Fri, 14 Dec 2018 03:45:45 +0000 (04:45 +0100)] 
NUMBERS-21: Target Java 8.

4 weeks agoNUMBERS-21: Target Java 8.
Gilles Sadowski [Fri, 14 Dec 2018 03:21:58 +0000 (04:21 +0100)] 
NUMBERS-21: Target Java 8.

4 weeks agoNUMBERS-80: Rename method.
Gilles Sadowski [Wed, 12 Dec 2018 16:57:42 +0000 (17:57 +0100)] 
NUMBERS-80: Rename method.

5 weeks agoNUMBERS-83: Replace calls to JDK deprecated API.
Gilles Sadowski [Tue, 11 Dec 2018 22:20:43 +0000 (23:20 +0100)] 
NUMBERS-83: Replace calls to JDK deprecated API.

5 weeks agoNUMBERS-80: Specialized implementations for normalized and positive polar form quater...
Gilles Sadowski [Tue, 11 Dec 2018 16:21:57 +0000 (17:21 +0100)] 
NUMBERS-80: Specialized implementations for normalized and positive polar form quaternions.

5 weeks agoNUMBERS-80: Method rename.
Gilles Sadowski [Tue, 11 Dec 2018 11:01:35 +0000 (12:01 +0100)] 
NUMBERS-80: Method rename.

5 weeks agoNUMBERS-80: Renamed instance fields.
Gilles Sadowski [Tue, 11 Dec 2018 01:56:45 +0000 (02:56 +0100)] 
NUMBERS-80: Renamed instance fields.

5 weeks agoINFRA-17379: Repository moved to "gitbox".
Gilles Sadowski [Tue, 11 Dec 2018 01:40:52 +0000 (02:40 +0100)] 
INFRA-17379: Repository moved to "gitbox".

5 weeks agoAvoid crash of the surefire plugin.
Gilles Sadowski [Sun, 9 Dec 2018 00:07:16 +0000 (01:07 +0100)] 
Avoid crash of the surefire plugin.

5 weeks agoMerge branch 'fix_NUMBERS-56__steve'
Gilles Sadowski [Sat, 8 Dec 2018 23:38:34 +0000 (00:38 +0100)] 
Merge branch 'fix_NUMBERS-56__steve'

Closes #18

5 weeks agoAdd files (web site).
Gilles Sadowski [Sat, 8 Dec 2018 23:35:20 +0000 (00:35 +0100)] 
Add files (web site).

5 weeks agoUpdate POM.
Gilles Sadowski [Sat, 8 Dec 2018 23:33:32 +0000 (00:33 +0100)] 
Update POM.

Upgrade to CP 47.
Remove redundant configurations.

5 weeks agoNUMBERS-56 Add missing unit tests and fix a couple of bugs in ComplexUtils (tidy... 18/head
Steve Bosman [Fri, 7 Dec 2018 12:42:02 +0000 (12:42 +0000)] 
NUMBERS-56 Add missing unit tests and fix a couple of bugs in ComplexUtils (tidy up test array creation)

5 weeks ago[NUMBERS-56] Fix dimension check; improve test coverage and fix other bugs found.
Steve Bosman [Fri, 7 Dec 2018 11:48:28 +0000 (11:48 +0000)] 
[NUMBERS-56] Fix dimension check; improve test coverage and fix other bugs found.

6 weeks agoNit (code formatting).
Gilles Sadowski [Fri, 30 Nov 2018 14:07:04 +0000 (15:07 +0100)] 
Nit (code formatting).

6 weeks agoMerge branch 'NUMBERS-76__steve'
Gilles Sadowski [Fri, 30 Nov 2018 13:03:42 +0000 (14:03 +0100)] 
Merge branch 'NUMBERS-76__steve'

Closes #17.

6 weeks agoSimplify unit tests.
Gilles Sadowski [Fri, 30 Nov 2018 13:02:45 +0000 (14:02 +0100)] 
Simplify unit tests.

6 weeks agoUse named constants.
Gilles Sadowski [Fri, 30 Nov 2018 13:01:49 +0000 (14:01 +0100)] 
Use named constants.

6 weeks agoRestrict visibility.
Gilles Sadowski [Fri, 30 Nov 2018 11:17:48 +0000 (12:17 +0100)] 
Restrict visibility.

6 weeks agoJavadoc.
Gilles Sadowski [Fri, 30 Nov 2018 11:16:32 +0000 (12:16 +0100)] 
Javadoc.

Actual exception type is not part of the public API.

6 weeks agoNUMBERS-76 Make "Quaternion" a VALJO - Fix Checkstyle issues 17/head
Steve Bosman [Fri, 30 Nov 2018 00:28:19 +0000 (00:28 +0000)] 
NUMBERS-76 Make "Quaternion" a VALJO - Fix Checkstyle issues

6 weeks agoNUMBERS-76 Make "Quaternion" a VALJO - correct Javadoc
Steve Bosman [Wed, 28 Nov 2018 23:23:57 +0000 (23:23 +0000)] 
NUMBERS-76 Make "Quaternion" a VALJO - correct Javadoc

6 weeks agoNUMBERS-76 Make "Quaternion" a VALJO
Steve Bosman [Wed, 28 Nov 2018 23:15:01 +0000 (23:15 +0000)] 
NUMBERS-76 Make "Quaternion" a VALJO

3 months agoWeb site files.
Gilles Sadowski [Thu, 11 Oct 2018 12:33:25 +0000 (14:33 +0200)] 
Web site files.

4 months agoNUMBERS-70: Delete files describing "Commons Math" (userguide).
Gilles Sadowski [Mon, 3 Sep 2018 22:31:47 +0000 (00:31 +0200)] 
NUMBERS-70: Delete files describing "Commons Math" (userguide).

7 months agoMerge branch 'feature__NUMBERS-51'
Gilles Sadowski [Sat, 19 May 2018 15:10:00 +0000 (17:10 +0200)] 
Merge branch 'feature__NUMBERS-51'

7 months agoJavadoc.
Gilles Sadowski [Sat, 19 May 2018 15:08:36 +0000 (17:08 +0200)] 
Javadoc.

7 months agoJacoco trigger file.
Gilles Sadowski [Sat, 19 May 2018 14:58:26 +0000 (16:58 +0200)] 
Jacoco trigger file.

7 months agoAdd methods.
Gilles Sadowski [Sat, 19 May 2018 14:57:41 +0000 (16:57 +0200)] 
Add methods.

7 months agoTrailing spaces.
Gilles Sadowski [Sat, 19 May 2018 14:57:12 +0000 (16:57 +0200)] 
Trailing spaces.

7 months agoMerge branch 'feature__NUMBERS-51__field' into feature__NUMBERS-51
Gilles Sadowski [Sat, 19 May 2018 14:35:16 +0000 (16:35 +0200)] 
Merge branch 'feature__NUMBERS-51__field' into feature__NUMBERS-51

7 months agoNUMBERS-54: Create module "commons-numbers-complex-streams".
Gilles Sadowski [Sat, 19 May 2018 12:42:42 +0000 (14:42 +0200)] 
NUMBERS-54: Create module "commons-numbers-complex-streams".

Class "ComplexUtils" moved over to the new module.

7 months agoRemoved spurious file.
Gilles Sadowski [Sat, 19 May 2018 12:28:52 +0000 (14:28 +0200)] 
Removed spurious file.

8 months agoAdd serial version identifier.
Gilles Sadowski [Mon, 30 Apr 2018 12:36:49 +0000 (14:36 +0200)] 
Add serial version identifier.

8 months agoFixed wrong operator.
Gilles Sadowski [Wed, 25 Apr 2018 10:02:05 +0000 (12:02 +0200)] 
Fixed wrong operator.

8 months agoNUMBERS-68: Implement "parse" as the inverse function of "toString".
Gilles Sadowski [Wed, 25 Apr 2018 09:41:04 +0000 (11:41 +0200)] 
NUMBERS-68: Implement "parse" as the inverse function of "toString".

The string representation handled by both methods is fixed (as is the case
for the JDK number classes).

8 months agoNUMBERS-68: Added parse() method to Complex(). TODO: Add testing.
Eric Barnhill [Tue, 24 Apr 2018 12:51:51 +0000 (14:51 +0200)] 
NUMBERS-68: Added parse() method to Complex(). TODO: Add testing.

8 months agoNUMBERS-65: Deleted RootsOfUnity and RootsOfUnityTest.
Eric Barnhill [Mon, 23 Apr 2018 10:55:23 +0000 (12:55 +0200)] 
NUMBERS-65: Deleted RootsOfUnity and RootsOfUnityTest.

8 months agoNUMBERS-65: Did not commit all changes in previous commit.
Eric Barnhill [Mon, 23 Apr 2018 10:54:16 +0000 (12:54 +0200)] 
NUMBERS-65: Did not commit all changes in previous commit.

8 months agoNUMBERS-65: Test added to nthRoot that proceeds around the unit circle
Eric Barnhill [Mon, 23 Apr 2018 10:53:39 +0000 (12:53 +0200)] 
NUMBERS-65: Test added to nthRoot that proceeds around the unit circle
in both directions using pos and neg args.

8 months agoNUMBERS-65: Changed Nth Root test classes to use camel case (underscores
Eric Barnhill [Mon, 23 Apr 2018 10:23:15 +0000 (12:23 +0200)] 
NUMBERS-65: Changed Nth Root test classes to use camel case (underscores
were used in some tests before)

9 months agoMerge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-numbers
Eric Barnhill [Thu, 22 Mar 2018 09:38:11 +0000 (10:38 +0100)] 
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-numbers

9 months agoNUMBERS-53: Fixed broken constructors in Utils and Test methods to accommodate ofReal()
Eric Barnhill [Thu, 22 Mar 2018 09:37:49 +0000 (10:37 +0100)] 
NUMBERS-53: Fixed broken constructors in Utils and Test methods to accommodate ofReal()

9 months agoNUMBERS-53: Changed factory method for real numbers to ofReal()
Eric Barnhill [Thu, 22 Mar 2018 09:13:32 +0000 (10:13 +0100)] 
NUMBERS-53: Changed factory method for real numbers to ofReal()

9 months agoLinks (web site).
Gilles Sadowski [Wed, 21 Mar 2018 02:10:40 +0000 (03:10 +0100)] 
Links (web site).

9 months ago"SpotBugs" config file.
Gilles Sadowski [Sat, 17 Mar 2018 23:50:10 +0000 (00:50 +0100)] 
"SpotBugs" config file.

9 months agoWrong operator.
Gilles Sadowski [Sat, 17 Mar 2018 23:41:41 +0000 (00:41 +0100)] 
Wrong operator.

9 months agoReplace "FindBugs" with "SpotBugs".
Gilles Sadowski [Sat, 17 Mar 2018 23:39:12 +0000 (00:39 +0100)] 
Replace "FindBugs" with "SpotBugs".

9 months agoDeclaration order.
Gilles Sadowski [Sat, 17 Mar 2018 22:58:21 +0000 (23:58 +0100)] 
Declaration order.

9 months agoRemoved "readResolve" method.
Gilles Sadowski [Sat, 17 Mar 2018 22:41:02 +0000 (23:41 +0100)] 
Removed "readResolve" method.

9 months agoMisalignment.
Gilles Sadowski [Sat, 17 Mar 2018 22:38:40 +0000 (23:38 +0100)] 
Misalignment.

9 months agoDeclaration order (CheckStyle).
Gilles Sadowski [Sat, 17 Mar 2018 22:35:43 +0000 (23:35 +0100)] 
Declaration order (CheckStyle).

10 months agoNUMBERS-68: made Complex class final.
Eric Barnhill [Wed, 14 Mar 2018 12:24:46 +0000 (13:24 +0100)] 
NUMBERS-68: made Complex class final.

10 months agoNUMBERS-63: removed sqrt1z() tests as method is now private.
Eric Barnhill [Wed, 14 Mar 2018 12:23:34 +0000 (13:23 +0100)] 
NUMBERS-63: removed sqrt1z() tests as method is now private.

10 months agoChanged sqrt1z() method to private
Eric Barnhill [Wed, 14 Mar 2018 11:58:46 +0000 (12:58 +0100)] 
Changed sqrt1z() method to private

10 months agoNUMBERS-64: Removed "norm" method
Eric Barnhill [Wed, 14 Mar 2018 11:56:33 +0000 (12:56 +0100)] 
NUMBERS-64: Removed "norm" method

10 months agoNUMBERS-53: Commented-out serial test eliminated
Eric Barnhill [Wed, 14 Mar 2018 11:51:40 +0000 (12:51 +0100)] 
NUMBERS-53: Commented-out serial test eliminated

10 months agoClean checkstyle for Complex
Eric Barnhill [Tue, 13 Mar 2018 10:37:33 +0000 (11:37 +0100)] 
Clean checkstyle for Complex

10 months agoNUMBERS-71: Complex multiplication and division methods have implemented
Eric Barnhill [Tue, 13 Mar 2018 09:48:58 +0000 (10:48 +0100)] 
NUMBERS-71: Complex multiplication and division methods have implemented
C++11 standards.

10 months agoNUMBERS-53: Removal of ComplexTest method extending Complex objects
Eric Barnhill [Fri, 2 Mar 2018 09:38:31 +0000 (10:38 +0100)] 
NUMBERS-53: Removal of ComplexTest method extending Complex objects

10 months agobugfix in 4d complex2Interleaved numbers-56-bugfix
Eric Barnhill [Thu, 1 Mar 2018 13:37:36 +0000 (14:37 +0100)] 
bugfix in 4d complex2Interleaved

10 months agoNUMBERS-53: Fixes to test classes. Waiting on decision about TestComplex complex-constructors 13/head
Eric Barnhill [Thu, 1 Mar 2018 13:14:40 +0000 (14:14 +0100)] 
NUMBERS-53: Fixes to test classes. Waiting on decision about TestComplex
class.

10 months agomerge of complex-constructor branch
Eric Barnhill [Thu, 1 Mar 2018 13:01:48 +0000 (14:01 +0100)] 
merge of complex-constructor branch

10 months agoMerge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-numbers
Eric Barnhill [Thu, 1 Mar 2018 13:01:08 +0000 (14:01 +0100)] 
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-numbers

10 months agoCreated static factory methods ofCis, ofPolar, ofCartesian; removal of
Eric Barnhill [Thu, 1 Mar 2018 12:56:28 +0000 (13:56 +0100)] 
Created static factory methods ofCis, ofPolar, ofCartesian; removal of
public constructors; related fixes in ComplexUtils and RootsOfUnity

11 months agoJavadoc, declaration order.
Gilles Sadowski [Wed, 14 Feb 2018 17:30:29 +0000 (18:30 +0100)] 
Javadoc, declaration order.

11 months agoMerge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-numbers
Gilles Sadowski [Wed, 14 Feb 2018 16:17:09 +0000 (17:17 +0100)] 
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-numbers

11 months agoFix unit tests: "Complex.NAN" was made private in a previous commit.
Gilles Sadowski [Wed, 14 Feb 2018 16:14:58 +0000 (17:14 +0100)] 
Fix unit tests: "Complex.NAN" was made private in a previous commit.

11 months agoMerge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-numbers
Eric Barnhill [Wed, 14 Feb 2018 09:06:45 +0000 (10:06 +0100)] 
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-numbers

11 months agoNUMBERS-60: Javadoc links fixed. Complex.NAN access modifier changed to
Eric Barnhill [Wed, 14 Feb 2018 09:03:57 +0000 (10:03 +0100)] 
NUMBERS-60: Javadoc links fixed. Complex.NAN access modifier changed to
private.

11 months agoUpgrade Jacoco.
Gilles Sadowski [Tue, 13 Feb 2018 09:50:47 +0000 (10:50 +0100)] 
Upgrade Jacoco.

11 months agoNUMBERS-60: Merging NaN related changes into master branch
Eric Barnhill [Tue, 13 Feb 2018 08:51:40 +0000 (09:51 +0100)] 
NUMBERS-60: Merging NaN related changes into master branch

11 months agoNUMBERS-60: NaN descriptions in javadoc altered to reflect C++ remove-nan-returns
Eric Barnhill [Mon, 12 Feb 2018 12:15:12 +0000 (13:15 +0100)] 
NUMBERS-60: NaN descriptions in javadoc altered to reflect C++
standards. NaN changed to NAN.

11 months agoMerge branch 'feature_NUMBERS-67'
Gilles Sadowski [Fri, 9 Feb 2018 00:16:02 +0000 (01:16 +0100)] 
Merge branch 'feature_NUMBERS-67'

11 months agoNUMBERS-67: Method "pow".
Gilles Sadowski [Mon, 5 Feb 2018 01:39:39 +0000 (02:39 +0100)] 
NUMBERS-67: Method "pow".