mirror of
https://github.com/apache/commons-math.git
synced 2025-03-04 15:39:17 +00:00
Update for next development iteration: commons-math4
This commit is contained in:
parent
a7b4803ffe
commit
e4e1ac23c7
@ -62,7 +62,7 @@ Alternatively you can pull it from the central Maven repositories:
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-math3</artifactId>
|
||||
<version>3.4</version>
|
||||
<version>3.4.1</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
@ -44,13 +44,13 @@
|
||||
<property name="component.name" value="commons-math"/>
|
||||
|
||||
<!-- The primary package name of this component -->
|
||||
<property name="component.package" value="org.apache.commons.math3"/>
|
||||
<property name="component.package" value="org.apache.commons.math4"/>
|
||||
|
||||
<!-- The title of this component -->
|
||||
<property name="component.title" value="Commons MATH"/>
|
||||
|
||||
<!-- The current version number of this component -->
|
||||
<property name="component.version" value="3.1-SNAPSHOT"/>
|
||||
<property name="component.version" value="4.0-SNAPSHOT"/>
|
||||
|
||||
<!-- The base directory for component sources -->
|
||||
<property name="source.home" value="src/main/java"/>
|
||||
@ -203,7 +203,7 @@
|
||||
<classpath refid="test.classpath"/>
|
||||
<!-- If test.entry is defined, run a single test, otherwise run all valid tests -->
|
||||
<!-- N.B. test.entry must be the full path to the test class, for example:
|
||||
ant test -Dtest.entry=org.apache.commons.math3.util.FastMathTestPerformance
|
||||
ant test -Dtest.entry=org.apache.commons.math4.util.FastMathTestPerformance
|
||||
-->
|
||||
<test name="${test.entry}" todir="${test.reports}" if="test.entry"/>
|
||||
<batchtest todir="${test.reports}" unless="test.entry">
|
||||
|
@ -19,166 +19,166 @@
|
||||
<differences>
|
||||
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/Region</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/Region</className>
|
||||
<differenceType>7005</differenceType> <!-- Method Argument Type changed -->
|
||||
<method>org.apache.commons.math3.geometry.partitioning.Region$Location checkPoint(org.apache.commons.math3.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math3.geometry.partitioning.Region$Location checkPoint(org.apache.commons.math3.geometry.Point)</to>
|
||||
<method>org.apache.commons.math4.geometry.partitioning.Region$Location checkPoint(org.apache.commons.math4.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math4.geometry.partitioning.Region$Location checkPoint(org.apache.commons.math4.geometry.Point)</to>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/Region</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/Region</className>
|
||||
<differenceType>7012</differenceType> <!-- Method Added to Interface -->
|
||||
<method>boolean isFull()</method>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/Region</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/Region</className>
|
||||
<differenceType>7012</differenceType> <!-- Method Added to Interface -->
|
||||
<method>boolean isFull(org.apache.commons.math3.geometry.partitioning.BSPTree)</method>
|
||||
<method>boolean isFull(org.apache.commons.math4.geometry.partitioning.BSPTree)</method>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/Region</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/Region</className>
|
||||
<differenceType>7012</differenceType> <!-- Method Added to Interface -->
|
||||
<method>org.apache.commons.math3.geometry.partitioning.BoundaryProjection projectToBoundary(org.apache.commons.math3.geometry.Point)</method>
|
||||
<method>org.apache.commons.math4.geometry.partitioning.BoundaryProjection projectToBoundary(org.apache.commons.math4.geometry.Point)</method>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/Region</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/Region</className>
|
||||
<differenceType>7006</differenceType> <!-- Method Return Type changed -->
|
||||
<method>org.apache.commons.math3.geometry.Vector getBarycenter()</method>
|
||||
<to>org.apache.commons.math3.geometry.Point</to>
|
||||
<method>org.apache.commons.math4.geometry.Vector getBarycenter()</method>
|
||||
<to>org.apache.commons.math4.geometry.Point</to>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/Hyperplane</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/Hyperplane</className>
|
||||
<differenceType>7012</differenceType> <!-- Method Added to Interface -->
|
||||
<method>double getTolerance()</method>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/Hyperplane</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/Hyperplane</className>
|
||||
<differenceType>7012</differenceType> <!-- Method Added to Interface -->
|
||||
<method>org.apache.commons.math3.geometry.Point project(org.apache.commons.math3.geometry.Point)</method>
|
||||
<method>org.apache.commons.math4.geometry.Point project(org.apache.commons.math4.geometry.Point)</method>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/Hyperplane</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/Hyperplane</className>
|
||||
<differenceType>7005</differenceType> <!-- Method Argument Type changed -->
|
||||
<method>double getOffset(org.apache.commons.math3.geometry.Vector)</method>
|
||||
<to>double getOffset(org.apache.commons.math3.geometry.Point)</to>
|
||||
<method>double getOffset(org.apache.commons.math4.geometry.Vector)</method>
|
||||
<to>double getOffset(org.apache.commons.math4.geometry.Point)</to>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/Embedding</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/Embedding</className>
|
||||
<differenceType>7005</differenceType> <!-- Method Argument Type changed -->
|
||||
<method>org.apache.commons.math3.geometry.Vector toSpace(org.apache.commons.math3.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math3.geometry.Vector toSpace(org.apache.commons.math3.geometry.Point)</to>
|
||||
<method>org.apache.commons.math4.geometry.Vector toSpace(org.apache.commons.math4.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math4.geometry.Vector toSpace(org.apache.commons.math4.geometry.Point)</to>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/Embedding</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/Embedding</className>
|
||||
<differenceType>7006</differenceType> <!-- Method Return Type changed -->
|
||||
<method>org.apache.commons.math3.geometry.Vector toSpace(org.apache.commons.math3.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math3.geometry.Point</to>
|
||||
<method>org.apache.commons.math4.geometry.Vector toSpace(org.apache.commons.math4.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math4.geometry.Point</to>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/Embedding</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/Embedding</className>
|
||||
<differenceType>7006</differenceType> <!-- Method Return Type changed -->
|
||||
<method>org.apache.commons.math3.geometry.Vector toSubSpace(org.apache.commons.math3.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math3.geometry.Point</to>
|
||||
<method>org.apache.commons.math4.geometry.Vector toSubSpace(org.apache.commons.math4.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math4.geometry.Point</to>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/Transform</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/Transform</className>
|
||||
<differenceType>7005</differenceType> <!-- Method Argument Type changed -->
|
||||
<method>org.apache.commons.math3.geometry.Vector apply(org.apache.commons.math3.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math3.geometry.Vector apply(org.apache.commons.math3.geometry.Point)</to>
|
||||
<method>org.apache.commons.math4.geometry.Vector apply(org.apache.commons.math4.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math4.geometry.Vector apply(org.apache.commons.math4.geometry.Point)</to>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/Transform</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/Transform</className>
|
||||
<differenceType>7006</differenceType> <!-- Method Return Type changed -->
|
||||
<method>org.apache.commons.math3.geometry.Vector apply(org.apache.commons.math3.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math3.geometry.Point</to>
|
||||
<method>org.apache.commons.math4.geometry.Vector apply(org.apache.commons.math4.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math4.geometry.Point</to>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/AbstractRegion</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/AbstractRegion</className>
|
||||
<differenceType>7005</differenceType> <!-- Method Argument Type changed -->
|
||||
<method>AbstractRegion(org.apache.commons.math3.geometry.partitioning.BSPTree)</method>
|
||||
<method>AbstractRegion(org.apache.commons.math4.geometry.partitioning.BSPTree)</method>
|
||||
<to>AbstractRegion(double)</to>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/AbstractRegion</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/AbstractRegion</className>
|
||||
<differenceType>7004</differenceType> <!-- Method Argument Count Changed -->
|
||||
<method>AbstractRegion(java.util.Collection)</method>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/AbstractRegion</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/AbstractRegion</className>
|
||||
<differenceType>7004</differenceType> <!-- Method Argument Count Changed -->
|
||||
<method>AbstractRegion()</method>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/AbstractRegion</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/AbstractRegion</className>
|
||||
<differenceType>7004</differenceType> <!-- Method Argument Count Changed -->
|
||||
<method>AbstractRegion(org.apache.commons.math3.geometry.partitioning.Hyperplane[])</method>
|
||||
<method>AbstractRegion(org.apache.commons.math4.geometry.partitioning.Hyperplane[])</method>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/AbstractRegion</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/AbstractRegion</className>
|
||||
<differenceType>7009</differenceType> <!-- Method is now Less Accessible -->
|
||||
<method>AbstractRegion(org.apache.commons.math3.geometry.partitioning.Hyperplane[])</method>
|
||||
<method>AbstractRegion(org.apache.commons.math4.geometry.partitioning.Hyperplane[])</method>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/partitioning/AbstractRegion</className>
|
||||
<className>org/apache/commons/math4/geometry/partitioning/AbstractRegion</className>
|
||||
<differenceType>7006</differenceType> <!-- Method Return Type changed -->
|
||||
<method>org.apache.commons.math3.geometry.Vector getBarycenter()</method>
|
||||
<to>org.apache.commons.math3.geometry.Point</to>
|
||||
<method>org.apache.commons.math4.geometry.Vector getBarycenter()</method>
|
||||
<to>org.apache.commons.math4.geometry.Point</to>
|
||||
</difference>
|
||||
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/euclidean/threed/Plane</className>
|
||||
<className>org/apache/commons/math4/geometry/euclidean/threed/Plane</className>
|
||||
<differenceType>7005</differenceType> <!-- Method Argument Type changed -->
|
||||
<method>org.apache.commons.math3.geometry.Vector toSpace(org.apache.commons.math3.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math3.geometry.Vector toSpace(org.apache.commons.math3.geometry.Point)</to>
|
||||
<method>org.apache.commons.math4.geometry.Vector toSpace(org.apache.commons.math4.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math4.geometry.Vector toSpace(org.apache.commons.math4.geometry.Point)</to>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/euclidean/threed/Plane</className>
|
||||
<className>org/apache/commons/math4/geometry/euclidean/threed/Plane</className>
|
||||
<differenceType>7006</differenceType> <!-- Method Return Type changed -->
|
||||
<method>org.apache.commons.math3.geometry.Vector toSpace(org.apache.commons.math3.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math3.geometry.euclidean.threed.Vector3D</to>
|
||||
<method>org.apache.commons.math4.geometry.Vector toSpace(org.apache.commons.math4.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math4.geometry.euclidean.threed.Vector3D</to>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/euclidean/threed/Plane</className>
|
||||
<className>org/apache/commons/math4/geometry/euclidean/threed/Plane</className>
|
||||
<differenceType>7006</differenceType> <!-- Method Return Type changed -->
|
||||
<method>org.apache.commons.math3.geometry.Vector toSubSpace(org.apache.commons.math3.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math3.geometry.euclidean.twod.Vector2D</to>
|
||||
<method>org.apache.commons.math4.geometry.Vector toSubSpace(org.apache.commons.math4.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math4.geometry.euclidean.twod.Vector2D</to>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/euclidean/threed/Line</className>
|
||||
<className>org/apache/commons/math4/geometry/euclidean/threed/Line</className>
|
||||
<differenceType>7005</differenceType> <!-- Method Argument Type changed -->
|
||||
<method>org.apache.commons.math3.geometry.Vector toSpace(org.apache.commons.math3.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math3.geometry.Vector toSpace(org.apache.commons.math3.geometry.Point)</to>
|
||||
<method>org.apache.commons.math4.geometry.Vector toSpace(org.apache.commons.math4.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math4.geometry.Vector toSpace(org.apache.commons.math4.geometry.Point)</to>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/euclidean/threed/Line</className>
|
||||
<className>org/apache/commons/math4/geometry/euclidean/threed/Line</className>
|
||||
<differenceType>7006</differenceType> <!-- Method Return Type changed -->
|
||||
<method>org.apache.commons.math3.geometry.Vector toSpace(org.apache.commons.math3.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math3.geometry.euclidean.threed.Vector3D</to>
|
||||
<method>org.apache.commons.math4.geometry.Vector toSpace(org.apache.commons.math4.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math4.geometry.euclidean.threed.Vector3D</to>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/euclidean/threed/Line</className>
|
||||
<className>org/apache/commons/math4/geometry/euclidean/threed/Line</className>
|
||||
<differenceType>7006</differenceType> <!-- Method Return Type changed -->
|
||||
<method>org.apache.commons.math3.geometry.Vector toSubSpace(org.apache.commons.math3.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math3.geometry.euclidean.oned.Vector1D</to>
|
||||
<method>org.apache.commons.math4.geometry.Vector toSubSpace(org.apache.commons.math4.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math4.geometry.euclidean.oned.Vector1D</to>
|
||||
</difference>
|
||||
|
||||
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/euclidean/twod/Line</className>
|
||||
<className>org/apache/commons/math4/geometry/euclidean/twod/Line</className>
|
||||
<differenceType>7005</differenceType> <!-- Method Argument Type changed -->
|
||||
<method>org.apache.commons.math3.geometry.Vector toSpace(org.apache.commons.math3.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math3.geometry.Vector toSpace(org.apache.commons.math3.geometry.Point)</to>
|
||||
<method>org.apache.commons.math4.geometry.Vector toSpace(org.apache.commons.math4.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math4.geometry.Vector toSpace(org.apache.commons.math4.geometry.Point)</to>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/euclidean/twod/Line</className>
|
||||
<className>org/apache/commons/math4/geometry/euclidean/twod/Line</className>
|
||||
<differenceType>7006</differenceType> <!-- Method Return Type changed -->
|
||||
<method>org.apache.commons.math3.geometry.Vector toSpace(org.apache.commons.math3.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math3.geometry.euclidean.twod.Vector2D</to>
|
||||
<method>org.apache.commons.math4.geometry.Vector toSpace(org.apache.commons.math4.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math4.geometry.euclidean.twod.Vector2D</to>
|
||||
</difference>
|
||||
<difference>
|
||||
<className>org/apache/commons/math3/geometry/euclidean/twod/Line</className>
|
||||
<className>org/apache/commons/math4/geometry/euclidean/twod/Line</className>
|
||||
<differenceType>7006</differenceType> <!-- Method Return Type changed -->
|
||||
<method>org.apache.commons.math3.geometry.Vector toSubSpace(org.apache.commons.math3.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math3.geometry.euclidean.oned.Vector1D</to>
|
||||
<method>org.apache.commons.math4.geometry.Vector toSubSpace(org.apache.commons.math4.geometry.Vector)</method>
|
||||
<to>org.apache.commons.math4.geometry.euclidean.oned.Vector1D</to>
|
||||
</difference>
|
||||
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
<!-- the following equality tests are part of the reference algorithms -->
|
||||
<!-- which already know about limited precision of the double numbers -->
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.analysis.solvers.BaseSecantSolver" />
|
||||
<Class name="org.apache.commons.math4.analysis.solvers.BaseSecantSolver" />
|
||||
<Method name="doSolve" params="" returns="double" />
|
||||
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.distribution.SaddlePointExpansion" />
|
||||
<Class name="org.apache.commons.math4.distribution.SaddlePointExpansion" />
|
||||
<Or>
|
||||
<Method name="getDeviancePart" params="double,double" returns="double" />
|
||||
<Method name="getStirlingError" params="double" returns="double" />
|
||||
@ -39,91 +39,91 @@
|
||||
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.optimization.univariate.BrentOptimizer" />
|
||||
<Class name="org.apache.commons.math4.optimization.univariate.BrentOptimizer" />
|
||||
<Method name="localMin" params="boolean,double,double,double,double,double" returns="double" />
|
||||
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.optim.univariate.BrentOptimizer" />
|
||||
<Class name="org.apache.commons.math4.optim.univariate.BrentOptimizer" />
|
||||
<Method name="localMin" params="boolean,double,double,double,double,double" returns="double" />
|
||||
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.analysis.solvers.BrentSolver" />
|
||||
<Class name="org.apache.commons.math4.analysis.solvers.BrentSolver" />
|
||||
<Method name="brent" params="double,double,double,double" returns="double" />
|
||||
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.analysis.solvers.MullerSolver" />
|
||||
<Class name="org.apache.commons.math4.analysis.solvers.MullerSolver" />
|
||||
<Or>
|
||||
<Method name="solve" params="double,double,double,double" returns="double" />
|
||||
</Or>
|
||||
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.analysis.solvers.MullerSolver2" />
|
||||
<Class name="org.apache.commons.math4.analysis.solvers.MullerSolver2" />
|
||||
<Or>
|
||||
<Method name="doSolve" params="" returns="double" />
|
||||
</Or>
|
||||
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.linear.EigenDecomposition" />
|
||||
<Class name="org.apache.commons.math4.linear.EigenDecomposition" />
|
||||
<Method name="findEigenVectors" params="double[][]" returns="void" />
|
||||
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Or>
|
||||
<Class name="org.apache.commons.math3.optim.nonlinear.scalar.noderiv.BOBYQAOptimizer" />
|
||||
<Class name="org.apache.commons.math3.optimization.direct.BOBYQAOptimizer" />
|
||||
<Class name="org.apache.commons.math4.optim.nonlinear.scalar.noderiv.BOBYQAOptimizer" />
|
||||
<Class name="org.apache.commons.math4.optimization.direct.BOBYQAOptimizer" />
|
||||
</Or>
|
||||
<Method name="altmov" params="int,double" returns="double[]" />
|
||||
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.optim.nonlinear.scalar.noderiv.CMAESOptimizer" />
|
||||
<Method name="doOptimize" params="" returns="org.apache.commons.math3.optim.PointValuePair" />
|
||||
<Class name="org.apache.commons.math4.optim.nonlinear.scalar.noderiv.CMAESOptimizer" />
|
||||
<Method name="doOptimize" params="" returns="org.apache.commons.math4.optim.PointValuePair" />
|
||||
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
|
||||
</Match>
|
||||
|
||||
<!-- The following equality test is intentional and needed for semantic purposes -->
|
||||
<Match>
|
||||
<Or>
|
||||
<Class name="org.apache.commons.math3.geometry.euclidean.oned.Vector1D" />
|
||||
<Class name="org.apache.commons.math3.geometry.euclidean.twod.Vector2D" />
|
||||
<Class name="org.apache.commons.math3.geometry.euclidean.threed.Vector3D" />
|
||||
<Class name="org.apache.commons.math4.geometry.euclidean.oned.Vector1D" />
|
||||
<Class name="org.apache.commons.math4.geometry.euclidean.twod.Vector2D" />
|
||||
<Class name="org.apache.commons.math4.geometry.euclidean.threed.Vector3D" />
|
||||
</Or>
|
||||
<Method name="equals" params="java.lang.Object" returns="boolean" />
|
||||
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.optimization.linear.LinearConstraint" />
|
||||
<Class name="org.apache.commons.math4.optimization.linear.LinearConstraint" />
|
||||
<Method name="equals" params="java.lang.Object" returns="boolean" />
|
||||
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.optim.linear.LinearConstraint" />
|
||||
<Class name="org.apache.commons.math4.optim.linear.LinearConstraint" />
|
||||
<Method name="equals" params="java.lang.Object" returns="boolean" />
|
||||
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
|
||||
</Match>
|
||||
|
||||
<!-- The following equality test is intentional and needed for rounding purposes -->
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.util.Precision" />
|
||||
<Class name="org.apache.commons.math4.util.Precision" />
|
||||
<Method name="roundUnscaled" params="double,double,int" returns="double" />
|
||||
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
|
||||
</Match>
|
||||
|
||||
<!-- The following equality test is intentional for division protection -->
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.analysis.interpolation.LoessInterpolator" />
|
||||
<Class name="org.apache.commons.math4.analysis.interpolation.LoessInterpolator" />
|
||||
<Method name="smooth" params="double[],double[]" returns="double[]" />
|
||||
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
|
||||
</Match>
|
||||
|
||||
<!-- The following equality test is intentional for infinity detection -->
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.util.FastMath" />
|
||||
<Class name="org.apache.commons.math4.util.FastMath" />
|
||||
<Method name="atan2" params="double,double" returns="double" />
|
||||
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
|
||||
</Match>
|
||||
@ -134,8 +134,8 @@
|
||||
-->
|
||||
<Match>
|
||||
<Or>
|
||||
<Class name="org.apache.commons.math3.optim.nonlinear.scalar.noderiv.BOBYQAOptimizer" />
|
||||
<Class name="org.apache.commons.math3.optimization.direct.BOBYQAOptimizer" />
|
||||
<Class name="org.apache.commons.math4.optim.nonlinear.scalar.noderiv.BOBYQAOptimizer" />
|
||||
<Class name="org.apache.commons.math4.optimization.direct.BOBYQAOptimizer" />
|
||||
</Or>
|
||||
<Or>
|
||||
<Method name="bobyqb" params="double[],double[]" returns="double" />
|
||||
@ -148,7 +148,7 @@
|
||||
(to be removed in 4.0)
|
||||
-->
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer" />
|
||||
<Class name="org.apache.commons.math4.optimization.general.AbstractLeastSquaresOptimizer" />
|
||||
<Or>
|
||||
<Field name="weightedResidualJacobian" />
|
||||
<Field name="weightedResiduals" />
|
||||
@ -158,54 +158,54 @@
|
||||
|
||||
<!-- Spurious: Findbugs confused by final local variables -->
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.util.FastMath" />
|
||||
<Class name="org.apache.commons.math4.util.FastMath" />
|
||||
<Method name="atan" params="double,double,boolean" returns="double" />
|
||||
<Bug pattern="DLS_DEAD_LOCAL_STORE" />
|
||||
</Match>
|
||||
|
||||
<!-- the following expositions of internal representation are intentional and documented -->
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.stat.regression.RegressionResults"/>
|
||||
<Class name="org.apache.commons.math4.stat.regression.RegressionResults"/>
|
||||
<Method name="<init>" params="double[],double[][],boolean,long,int,double,double,double,boolean,boolean" returns="void" />
|
||||
<Bug pattern="EI_EXPOSE_REP2" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.stat.descriptive.AbstractUnivariateStatistic"/>
|
||||
<Class name="org.apache.commons.math4.stat.descriptive.AbstractUnivariateStatistic"/>
|
||||
<Method name="getDataRef" params="" returns="double[]" />
|
||||
<Bug pattern="EI_EXPOSE_REP" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.optimization.PointValuePair"/>
|
||||
<Class name="org.apache.commons.math4.optimization.PointValuePair"/>
|
||||
<Method name="getPointRef" params="" returns="double[]" />
|
||||
<Bug pattern="EI_EXPOSE_REP" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.optim.PointValuePair"/>
|
||||
<Class name="org.apache.commons.math4.optim.PointValuePair"/>
|
||||
<Method name="getPointRef" params="" returns="double[]" />
|
||||
<Bug pattern="EI_EXPOSE_REP" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.optimization.PointValuePair"/>
|
||||
<Class name="org.apache.commons.math4.optimization.PointValuePair"/>
|
||||
<Method name="<init>" params="double[],double,boolean" returns="void" />
|
||||
<Bug pattern="EI_EXPOSE_REP2" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.optim.PointValuePair"/>
|
||||
<Class name="org.apache.commons.math4.optim.PointValuePair"/>
|
||||
<Method name="<init>" params="double[],double,boolean" returns="void" />
|
||||
<Bug pattern="EI_EXPOSE_REP2" />
|
||||
</Match>
|
||||
<!-- Serialization is handled by an internal class -->
|
||||
<Match>
|
||||
<Or>
|
||||
<Class name="org.apache.commons.math3.optim.PointValuePair"/>
|
||||
<Class name="org.apache.commons.math3.optim.PointVectorValuePair"/>
|
||||
<Class name="org.apache.commons.math3.optimization.PointValuePair"/>
|
||||
<Class name="org.apache.commons.math3.optimization.PointVectorValuePair"/>
|
||||
<Class name="org.apache.commons.math4.optim.PointValuePair"/>
|
||||
<Class name="org.apache.commons.math4.optim.PointVectorValuePair"/>
|
||||
<Class name="org.apache.commons.math4.optimization.PointValuePair"/>
|
||||
<Class name="org.apache.commons.math4.optimization.PointVectorValuePair"/>
|
||||
</Or>
|
||||
<Bug pattern="SE_NO_SUITABLE_CONSTRUCTOR" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.optimization.PointVectorValuePair"/>
|
||||
<Class name="org.apache.commons.math4.optimization.PointVectorValuePair"/>
|
||||
<Or>
|
||||
<Method name="getPointRef" params="" returns="double[]" />
|
||||
<Method name="getValueRef" params="" returns="double[]" />
|
||||
@ -213,7 +213,7 @@
|
||||
<Bug pattern="EI_EXPOSE_REP" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.optim.PointVectorValuePair"/>
|
||||
<Class name="org.apache.commons.math4.optim.PointVectorValuePair"/>
|
||||
<Or>
|
||||
<Method name="getPointRef" params="" returns="double[]" />
|
||||
<Method name="getValueRef" params="" returns="double[]" />
|
||||
@ -221,22 +221,22 @@
|
||||
<Bug pattern="EI_EXPOSE_REP" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.optimization.PointVectorValuePair"/>
|
||||
<Class name="org.apache.commons.math4.optimization.PointVectorValuePair"/>
|
||||
<Method name="<init>" params="double[],double[][],boolean" returns="void" />
|
||||
<Bug pattern="EI_EXPOSE_REP2" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.optim.PointVectorValuePair"/>
|
||||
<Class name="org.apache.commons.math4.optim.PointVectorValuePair"/>
|
||||
<Method name="<init>" params="double[],double[][],boolean" returns="void" />
|
||||
<Bug pattern="EI_EXPOSE_REP2" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.ode.sampling.DummyStepInterpolator"/>
|
||||
<Class name="org.apache.commons.math4.ode.sampling.DummyStepInterpolator"/>
|
||||
<Method name="<init>" params="double[],double[],boolean" returns="void" />
|
||||
<Bug pattern="EI_EXPOSE_REP2" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.ode.sampling.AbstractStepInterpolator"/>
|
||||
<Class name="org.apache.commons.math4.ode.sampling.AbstractStepInterpolator"/>
|
||||
<Or>
|
||||
<Method name="getInterpolatedState" params="" returns="double[]" />
|
||||
<Method name="getInterpolatedDerivatives" params="" returns="double[]" />
|
||||
@ -244,47 +244,47 @@
|
||||
<Bug pattern="EI_EXPOSE_REP" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.ode.sampling.NordsieckStepInterpolator"/>
|
||||
<Method name="reinitialize" params="double,double,double[],org.apache.commons.math3.linear.Array2DRowRealMatrix" returns="void" />
|
||||
<Class name="org.apache.commons.math4.ode.sampling.NordsieckStepInterpolator"/>
|
||||
<Method name="reinitialize" params="double,double,double[],org.apache.commons.math4.linear.Array2DRowRealMatrix" returns="void" />
|
||||
<Bug pattern="EI_EXPOSE_REP2" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.ode.sampling.NordsieckStepInterpolator"/>
|
||||
<Class name="org.apache.commons.math4.ode.sampling.NordsieckStepInterpolator"/>
|
||||
<Method name="getInterpolatedStateVariation" params="" returns="double[]" />
|
||||
<Bug pattern="EI_EXPOSE_REP" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.linear.Array2DRowRealMatrix"/>
|
||||
<Class name="org.apache.commons.math4.linear.Array2DRowRealMatrix"/>
|
||||
<Method name="<init>" params="double[][],boolean" returns="void" />
|
||||
<Bug pattern="EI_EXPOSE_REP2" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.linear.Array2DRowRealMatrix"/>
|
||||
<Class name="org.apache.commons.math4.linear.Array2DRowRealMatrix"/>
|
||||
<Method name="getDataRef" params="" returns="double[][]" />
|
||||
<Bug pattern="EI_EXPOSE_REP" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.linear.BlockFieldMatrix"/>
|
||||
<Method name="<init>" params="int,int,org.apache.commons.math3.FieldElement[][],boolean" returns="void" />
|
||||
<Class name="org.apache.commons.math4.linear.BlockFieldMatrix"/>
|
||||
<Method name="<init>" params="int,int,org.apache.commons.math4.FieldElement[][],boolean" returns="void" />
|
||||
<Bug pattern="EI_EXPOSE_REP2" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.linear.Array2DRowFieldMatrix"/>
|
||||
<Method name="<init>" params="org.apache.commons.math3.Field,org.apache.commons.math3.FieldElement[][],boolean" returns="void" />
|
||||
<Class name="org.apache.commons.math4.linear.Array2DRowFieldMatrix"/>
|
||||
<Method name="<init>" params="org.apache.commons.math4.Field,org.apache.commons.math4.FieldElement[][],boolean" returns="void" />
|
||||
<Bug pattern="EI_EXPOSE_REP2" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.linear.Array2DRowFieldMatrix"/>
|
||||
<Method name="getDataRef" params="" returns="org.apache.commons.math3.FieldElement[][]" />
|
||||
<Class name="org.apache.commons.math4.linear.Array2DRowFieldMatrix"/>
|
||||
<Method name="getDataRef" params="" returns="org.apache.commons.math4.FieldElement[][]" />
|
||||
<Bug pattern="EI_EXPOSE_REP" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.linear.BlockRealMatrix"/>
|
||||
<Class name="org.apache.commons.math4.linear.BlockRealMatrix"/>
|
||||
<Method name="<init>" params="int,int,double[][],boolean" returns="void" />
|
||||
<Bug pattern="EI_EXPOSE_REP2" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.util.ResizableDoubleArray"/>
|
||||
<Class name="org.apache.commons.math4.util.ResizableDoubleArray"/>
|
||||
<Or>
|
||||
<Method name="getValues" params="" returns="double[]" />
|
||||
<Method name="getInternalValues" params="" returns="double[]" />
|
||||
@ -292,47 +292,47 @@
|
||||
<Bug pattern="EI_EXPOSE_REP" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.linear.ArrayRealVector"/>
|
||||
<Class name="org.apache.commons.math4.linear.ArrayRealVector"/>
|
||||
<Method name="getDataRef" params="" returns="double[]" />
|
||||
<Bug pattern="EI_EXPOSE_REP" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.linear.ArrayFieldVector"/>
|
||||
<Method name="getDataRef" params="" returns="org.apache.commons.math3.FieldElement[]" />
|
||||
<Class name="org.apache.commons.math4.linear.ArrayFieldVector"/>
|
||||
<Method name="getDataRef" params="" returns="org.apache.commons.math4.FieldElement[]" />
|
||||
<Bug pattern="EI_EXPOSE_REP" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.linear.DiagonalMatrix"/>
|
||||
<Class name="org.apache.commons.math4.linear.DiagonalMatrix"/>
|
||||
<Method name="getDataRef" params="" returns="double[]" />
|
||||
<Bug pattern="EI_EXPOSE_REP" />
|
||||
</Match>
|
||||
<!-- The equals method for RealVector intentionally throws an exception -->
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.linear.RealVector"/>
|
||||
<Class name="org.apache.commons.math4.linear.RealVector"/>
|
||||
<Bug pattern="EQ_UNUSUAL" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint"/>
|
||||
<Class name="org.apache.commons.math4.stat.clustering.EuclideanIntegerPoint"/>
|
||||
<Method name="<init>" params="int[]" returns="void" />
|
||||
<Bug pattern="EI_EXPOSE_REP2" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint"/>
|
||||
<Class name="org.apache.commons.math4.stat.clustering.EuclideanIntegerPoint"/>
|
||||
<Method name="getPoint" params="" returns="int[]" />
|
||||
<Bug pattern="EI_EXPOSE_REP" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Or>
|
||||
<Class name="org.apache.commons.math3.stat.clustering.EuclideanDoublePoint"/>
|
||||
<Class name="org.apache.commons.math3.ml.clustering.DoublePoint"/>
|
||||
<Class name="org.apache.commons.math4.stat.clustering.EuclideanDoublePoint"/>
|
||||
<Class name="org.apache.commons.math4.ml.clustering.DoublePoint"/>
|
||||
</Or>
|
||||
<Method name="<init>" params="double[]" returns="void" />
|
||||
<Bug pattern="EI_EXPOSE_REP2" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Or>
|
||||
<Class name="org.apache.commons.math3.stat.clustering.EuclideanDoublePoint"/>
|
||||
<Class name="org.apache.commons.math3.ml.clustering.DoublePoint"/>
|
||||
<Class name="org.apache.commons.math4.stat.clustering.EuclideanDoublePoint"/>
|
||||
<Class name="org.apache.commons.math4.ml.clustering.DoublePoint"/>
|
||||
</Or>
|
||||
<Method name="getPoint" params="" returns="double[]" />
|
||||
<Bug pattern="EI_EXPOSE_REP" />
|
||||
@ -340,44 +340,44 @@
|
||||
|
||||
<!-- The following cases are intentional unit tests for null parameters -->
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.stat.StatUtilsTest" />
|
||||
<Class name="org.apache.commons.math4.stat.StatUtilsTest" />
|
||||
<Method name="testPercentile" params="" returns="void" />
|
||||
<Bug pattern="NP_NULL_PARAM_DEREF_NONVIRTUAL" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.analysis.UnivariateRealSolverFactoryImplTest" />
|
||||
<Class name="org.apache.commons.math4.analysis.UnivariateRealSolverFactoryImplTest" />
|
||||
<Method name="testNewNewtonSolverNull" params="" returns="void" />
|
||||
<Bug pattern="NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.stat.regression.OLSMultipleLinearRegressionTest" />
|
||||
<Class name="org.apache.commons.math4.stat.regression.OLSMultipleLinearRegressionTest" />
|
||||
<Method name="cannotAddNullYSampleData" params="" returns="void" />
|
||||
<Bug pattern="NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS" />
|
||||
</Match>
|
||||
|
||||
<!-- IntDoublePair intentionally implements Comparable inconsistently with equals -->
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.stat.ranking.NaturalRanking$IntDoublePair" />
|
||||
<Class name="org.apache.commons.math4.stat.ranking.NaturalRanking$IntDoublePair" />
|
||||
<Bug pattern="EQ_COMPARETO_USE_OBJECT_EQUALS" />
|
||||
</Match>
|
||||
|
||||
<!-- False positive warning from findbugs, the integer division result cast to double is correct here -->
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.stat.inference.MannWhitneyUTest" />
|
||||
<Class name="org.apache.commons.math4.stat.inference.MannWhitneyUTest" />
|
||||
<Method name="mannWhitneyU" params="double[],double[]" returns="double" />
|
||||
<Bug pattern="ICAST_IDIV_CAST_TO_DOUBLE" />
|
||||
</Match>
|
||||
|
||||
<!-- The following switch fall-through is intended. -->
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D" />
|
||||
<Class name="org.apache.commons.math4.ml.neuralnet.twod.NeuronSquareMesh2D" />
|
||||
<Method name="createLinks" />
|
||||
<Bug pattern="SF_SWITCH_FALLTHROUGH" />
|
||||
</Match>
|
||||
|
||||
<!-- Integer division results cast to double are intentional. -->
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math3.special.BesselJ" />
|
||||
<Class name="org.apache.commons.math4.special.BesselJ" />
|
||||
<Method name="rjBesl" />
|
||||
<Bug pattern="ICAST_IDIV_CAST_TO_DOUBLE" />
|
||||
</Match>
|
||||
|
34
pom.xml
34
pom.xml
@ -23,8 +23,8 @@
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-math3</artifactId>
|
||||
<version>3.5-SNAPSHOT</version>
|
||||
<artifactId>commons-math4</artifactId>
|
||||
<version>4.0-SNAPSHOT</version>
|
||||
<name>Apache Commons Math</name>
|
||||
|
||||
<inceptionYear>2003</inceptionYear>
|
||||
@ -359,6 +359,8 @@
|
||||
<!-- Do not change: "math" is the name of the component even if the
|
||||
name of the base package evolves with major release numbers
|
||||
(see "commons.osgi.symbolicName", below). -->
|
||||
<!-- TODO: when releasing 4.0, the properties below need to be updated, and
|
||||
the 3.x release artifacts need to be put int commons.release.3 -->
|
||||
<commons.componentid>math</commons.componentid>
|
||||
<!-- This value must reflect the current name of the base package. -->
|
||||
<commons.osgi.symbolicName>org.apache.commons.math3</commons.osgi.symbolicName>
|
||||
@ -484,7 +486,7 @@
|
||||
<attribute name="X-Compile-Target-JDK" value="${maven.compiler.target}" />
|
||||
</manifest>
|
||||
<fileset dir="${project.build.directory}/test-classes"
|
||||
includes="org/apache/commons/math3/PerfTestUtils*" />
|
||||
includes="org/apache/commons/math4/PerfTestUtils*" />
|
||||
</jar>
|
||||
</target>
|
||||
</configuration>
|
||||
@ -494,7 +496,7 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- Attaches the commons-math3 tools JAR to the Maven lifecycle
|
||||
<!-- Attaches the commons-math4 tools JAR to the Maven lifecycle
|
||||
to ensure they will be signed and deployed as normal -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
@ -589,21 +591,21 @@
|
||||
|
||||
<!-- the following are test data files with specific syntax that cannot include
|
||||
Apache header (and the contained data is public, it is not owned by Apache) -->
|
||||
<exclude>src/test/resources/org/apache/commons/math3/random/testData.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/random/emptyFile.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/stat/data/PiDigits.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/stat/data/NumAcc3.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/stat/data/Lew.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/stat/data/NumAcc2.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/stat/data/NumAcc1.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/stat/data/Lottery.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/stat/data/NumAcc4.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/stat/data/Michelso.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/stat/data/Mavro.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math4/random/testData.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math4/random/emptyFile.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math4/stat/data/PiDigits.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math4/stat/data/NumAcc3.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math4/stat/data/Lew.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math4/stat/data/NumAcc2.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math4/stat/data/NumAcc1.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math4/stat/data/Lottery.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math4/stat/data/NumAcc4.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math4/stat/data/Michelso.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math4/stat/data/Mavro.txt</exclude>
|
||||
|
||||
<!-- direction numbers for Sobol generation from Frances Y. Kuo and Stephen Joe,
|
||||
available under a BSD-style license (see NOTICE.txt and LICENSE.txt) -->
|
||||
<exclude>src/main/resources/assets/org/apache/commons/math3/random/new-joe-kuo-6.1000</exclude>
|
||||
<exclude>src/main/resources/assets/org/apache/commons/math4/random/new-joe-kuo-6.1000</exclude>
|
||||
|
||||
<!-- text file explaining reference to a public domain image -->
|
||||
<exclude>src/userguide/resources/references.txt</exclude>
|
||||
|
@ -53,7 +53,7 @@ If the output is not quite correct, check for invisible trailing spaces!
|
||||
<release version="TBD" date="TBD" description="TBD">
|
||||
</release>
|
||||
|
||||
<release version="3.5" date="2015-01-11" description="">
|
||||
<release version="4.0" date="XXXX-XX-XX" description="">
|
||||
<action dev="sebb" type="add" issue="MATH-1198">
|
||||
Simplified "FastMath#exp(double)" in order to avoid a potential
|
||||
Java 1.5 JIT bug when calling with negative infinity as argument.
|
||||
|
@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3;
|
||||
package org.apache.commons.math4;
|
||||
|
||||
/**
|
||||
* Interface representing a <a href="http://mathworld.wolfram.com/Field.html">field</a>.
|
||||
|
@ -14,10 +14,10 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3;
|
||||
package org.apache.commons.math4;
|
||||
|
||||
import org.apache.commons.math3.exception.MathArithmeticException;
|
||||
import org.apache.commons.math3.exception.NullArgumentException;
|
||||
import org.apache.commons.math4.exception.MathArithmeticException;
|
||||
import org.apache.commons.math4.exception.NullArgumentException;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -14,9 +14,9 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3;
|
||||
package org.apache.commons.math4;
|
||||
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
|
||||
/**
|
||||
* Interface representing a <a href="http://mathworld.wolfram.com/RealNumber.html">real</a>
|
||||
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis;
|
||||
package org.apache.commons.math4.analysis;
|
||||
|
||||
/**
|
||||
* An interface representing a bivariate real function.
|
||||
|
@ -15,13 +15,13 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis;
|
||||
package org.apache.commons.math4.analysis;
|
||||
|
||||
/**
|
||||
* Extension of {@link MultivariateFunction} representing a differentiable
|
||||
* multivariate real function.
|
||||
* @since 2.0
|
||||
* @deprecated as of 3.1 replaced by {@link org.apache.commons.math3.analysis.differentiation.MultivariateDifferentiableFunction}
|
||||
* @deprecated as of 3.1 replaced by {@link org.apache.commons.math4.analysis.differentiation.MultivariateDifferentiableFunction}
|
||||
*/
|
||||
@Deprecated
|
||||
public interface DifferentiableMultivariateFunction extends MultivariateFunction {
|
||||
|
@ -15,13 +15,13 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis;
|
||||
package org.apache.commons.math4.analysis;
|
||||
|
||||
/**
|
||||
* Extension of {@link MultivariateVectorFunction} representing a differentiable
|
||||
* multivariate vectorial function.
|
||||
* @since 2.0
|
||||
* @deprecated as of 3.1 replaced by {@link org.apache.commons.math3.analysis.differentiation.MultivariateDifferentiableVectorFunction}
|
||||
* @deprecated as of 3.1 replaced by {@link org.apache.commons.math4.analysis.differentiation.MultivariateDifferentiableVectorFunction}
|
||||
*/
|
||||
@Deprecated
|
||||
public interface DifferentiableMultivariateVectorFunction
|
||||
|
@ -14,12 +14,12 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis;
|
||||
package org.apache.commons.math4.analysis;
|
||||
|
||||
/**
|
||||
* Extension of {@link UnivariateFunction} representing a differentiable univariate real function.
|
||||
*
|
||||
* @deprecated as of 3.1 replaced by {@link org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction}
|
||||
* @deprecated as of 3.1 replaced by {@link org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction}
|
||||
*/
|
||||
@Deprecated
|
||||
public interface DifferentiableUnivariateFunction
|
||||
|
@ -14,13 +14,13 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis;
|
||||
package org.apache.commons.math4.analysis;
|
||||
|
||||
/**
|
||||
* Extension of {@link UnivariateMatrixFunction} representing a differentiable univariate matrix function.
|
||||
*
|
||||
* @since 2.0
|
||||
* @deprecated as of 3.1 replaced by {@link org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableMatrixFunction}
|
||||
* @deprecated as of 3.1 replaced by {@link org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableMatrixFunction}
|
||||
*/
|
||||
@Deprecated
|
||||
public interface DifferentiableUnivariateMatrixFunction
|
||||
|
@ -14,13 +14,13 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis;
|
||||
package org.apache.commons.math4.analysis;
|
||||
|
||||
/**
|
||||
* Extension of {@link UnivariateVectorFunction} representing a differentiable univariate vectorial function.
|
||||
*
|
||||
* @since 2.0
|
||||
* @deprecated as of 3.1 replaced by {@link org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableVectorFunction}
|
||||
* @deprecated as of 3.1 replaced by {@link org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableVectorFunction}
|
||||
*/
|
||||
@Deprecated
|
||||
public interface DifferentiableUnivariateVectorFunction
|
||||
|
@ -15,17 +15,17 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis;
|
||||
package org.apache.commons.math4.analysis;
|
||||
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.MultivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.MultivariateDifferentiableVectorFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.analysis.function.Identity;
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math3.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math3.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math3.exception.util.LocalizedFormats;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.MultivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.MultivariateDifferentiableVectorFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.analysis.function.Identity;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.exception.util.LocalizedFormats;
|
||||
|
||||
/**
|
||||
* Utilities for manipulating function objects.
|
||||
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis;
|
||||
package org.apache.commons.math4.analysis;
|
||||
|
||||
/**
|
||||
* An interface representing a multivariate real function.
|
||||
@ -29,9 +29,9 @@ public interface MultivariateFunction {
|
||||
*
|
||||
* @param point Point at which the function must be evaluated.
|
||||
* @return the function value for the given point.
|
||||
* @throws org.apache.commons.math3.exception.DimensionMismatchException
|
||||
* @throws org.apache.commons.math4.exception.DimensionMismatchException
|
||||
* if the parameter's dimension is wrong for the function being evaluated.
|
||||
* @throws org.apache.commons.math3.exception.MathIllegalArgumentException
|
||||
* @throws org.apache.commons.math4.exception.MathIllegalArgumentException
|
||||
* when the activated method itself can ascertain that preconditions,
|
||||
* specified in the API expressed at the level of the activated method,
|
||||
* have been violated. In the vast majority of cases where Commons Math
|
||||
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis;
|
||||
package org.apache.commons.math4.analysis;
|
||||
|
||||
/**
|
||||
* An interface representing a multivariate matrix function.
|
||||
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis;
|
||||
package org.apache.commons.math4.analysis;
|
||||
|
||||
/**
|
||||
* An interface representing a multivariate vectorial function.
|
||||
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis;
|
||||
package org.apache.commons.math4.analysis;
|
||||
|
||||
/**
|
||||
* An interface representing a real function that depends on one independent
|
||||
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis;
|
||||
package org.apache.commons.math4.analysis;
|
||||
|
||||
/**
|
||||
* An interface representing a trivariate real function.
|
||||
|
@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis;
|
||||
package org.apache.commons.math4.analysis;
|
||||
|
||||
/**
|
||||
* An interface representing a univariate real function.
|
||||
|
@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis;
|
||||
package org.apache.commons.math4.analysis;
|
||||
|
||||
/**
|
||||
* An interface representing a univariate matrix function.
|
||||
|
@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis;
|
||||
package org.apache.commons.math4.analysis;
|
||||
|
||||
/**
|
||||
* An interface representing a univariate vectorial function.
|
||||
|
@ -14,21 +14,21 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.differentiation;
|
||||
package org.apache.commons.math4.analysis.differentiation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.atomic.AtomicReference;
|
||||
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math3.exception.MathArithmeticException;
|
||||
import org.apache.commons.math3.exception.MathInternalError;
|
||||
import org.apache.commons.math3.exception.NotPositiveException;
|
||||
import org.apache.commons.math3.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math3.util.CombinatoricsUtils;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math3.util.MathArrays;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.MathArithmeticException;
|
||||
import org.apache.commons.math4.exception.MathInternalError;
|
||||
import org.apache.commons.math4.exception.NotPositiveException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.util.CombinatoricsUtils;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
import org.apache.commons.math4.util.MathArrays;
|
||||
|
||||
/** Class holding "compiled" computation rules for derivative structures.
|
||||
* <p>This class implements the computation rules described in Dan Kalman's paper <a
|
||||
|
@ -14,19 +14,19 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.differentiation;
|
||||
package org.apache.commons.math4.analysis.differentiation;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import org.apache.commons.math3.RealFieldElement;
|
||||
import org.apache.commons.math3.Field;
|
||||
import org.apache.commons.math3.FieldElement;
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math3.exception.MathArithmeticException;
|
||||
import org.apache.commons.math3.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math3.util.MathArrays;
|
||||
import org.apache.commons.math3.util.MathUtils;
|
||||
import org.apache.commons.math4.Field;
|
||||
import org.apache.commons.math4.FieldElement;
|
||||
import org.apache.commons.math4.RealFieldElement;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.MathArithmeticException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
import org.apache.commons.math4.util.MathArrays;
|
||||
import org.apache.commons.math4.util.MathUtils;
|
||||
|
||||
/** Class representing both the value and the differentials of a function.
|
||||
* <p>This class is the workhorse of the differentiation package.</p>
|
||||
|
@ -14,18 +14,18 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.differentiation;
|
||||
package org.apache.commons.math4.analysis.differentiation;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.UnivariateMatrixFunction;
|
||||
import org.apache.commons.math3.analysis.UnivariateVectorFunction;
|
||||
import org.apache.commons.math3.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math3.exception.NotPositiveException;
|
||||
import org.apache.commons.math3.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math3.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.UnivariateMatrixFunction;
|
||||
import org.apache.commons.math4.analysis.UnivariateVectorFunction;
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math4.exception.NotPositiveException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/** Univariate functions differentiator using finite differences.
|
||||
* <p>
|
||||
|
@ -14,9 +14,9 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.differentiation;
|
||||
package org.apache.commons.math4.analysis.differentiation;
|
||||
|
||||
import org.apache.commons.math3.analysis.MultivariateVectorFunction;
|
||||
import org.apache.commons.math4.analysis.MultivariateVectorFunction;
|
||||
|
||||
/** Class representing the gradient of a multivariate function.
|
||||
* <p>
|
||||
|
@ -14,9 +14,9 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.differentiation;
|
||||
package org.apache.commons.math4.analysis.differentiation;
|
||||
|
||||
import org.apache.commons.math3.analysis.MultivariateMatrixFunction;
|
||||
import org.apache.commons.math4.analysis.MultivariateMatrixFunction;
|
||||
|
||||
/** Class representing the Jacobian of a multivariate vector function.
|
||||
* <p>
|
||||
|
@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.differentiation;
|
||||
package org.apache.commons.math4.analysis.differentiation;
|
||||
|
||||
import org.apache.commons.math3.analysis.MultivariateFunction;
|
||||
import org.apache.commons.math3.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math4.analysis.MultivariateFunction;
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
|
||||
/**
|
||||
* Extension of {@link MultivariateFunction} representing a
|
||||
|
@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.differentiation;
|
||||
package org.apache.commons.math4.analysis.differentiation;
|
||||
|
||||
import org.apache.commons.math3.analysis.MultivariateVectorFunction;
|
||||
import org.apache.commons.math3.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math4.analysis.MultivariateVectorFunction;
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -14,21 +14,21 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.differentiation;
|
||||
package org.apache.commons.math4.analysis.differentiation;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.commons.math3.Field;
|
||||
import org.apache.commons.math3.FieldElement;
|
||||
import org.apache.commons.math3.RealFieldElement;
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math3.util.MathArrays;
|
||||
import org.apache.commons.math3.util.MathUtils;
|
||||
import org.apache.commons.math3.util.Precision;
|
||||
import org.apache.commons.math4.Field;
|
||||
import org.apache.commons.math4.FieldElement;
|
||||
import org.apache.commons.math4.RealFieldElement;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
import org.apache.commons.math4.util.MathArrays;
|
||||
import org.apache.commons.math4.util.MathUtils;
|
||||
import org.apache.commons.math4.util.Precision;
|
||||
|
||||
/**
|
||||
* First derivative computation with large number of variables.
|
||||
|
@ -14,10 +14,10 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.differentiation;
|
||||
package org.apache.commons.math4.analysis.differentiation;
|
||||
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
|
||||
/** Interface for univariate functions derivatives.
|
||||
* <p>This interface represents a simple function which computes
|
||||
|
@ -14,10 +14,10 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.differentiation;
|
||||
package org.apache.commons.math4.analysis.differentiation;
|
||||
|
||||
import org.apache.commons.math3.analysis.UnivariateMatrixFunction;
|
||||
import org.apache.commons.math3.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math4.analysis.UnivariateMatrixFunction;
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
|
||||
/**
|
||||
* Extension of {@link UnivariateMatrixFunction} representing a univariate differentiable matrix function.
|
||||
|
@ -14,10 +14,10 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.differentiation;
|
||||
package org.apache.commons.math4.analysis.differentiation;
|
||||
|
||||
import org.apache.commons.math3.analysis.UnivariateVectorFunction;
|
||||
import org.apache.commons.math3.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math4.analysis.UnivariateVectorFunction;
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
|
||||
/**
|
||||
* Extension of {@link UnivariateVectorFunction} representing a univariate differentiable vectorial function.
|
||||
|
@ -14,9 +14,9 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.differentiation;
|
||||
package org.apache.commons.math4.analysis.differentiation;
|
||||
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
|
||||
/** Interface defining the function differentiation operation.
|
||||
* @since 3.1
|
||||
|
@ -14,9 +14,9 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.differentiation;
|
||||
package org.apache.commons.math4.analysis.differentiation;
|
||||
|
||||
import org.apache.commons.math3.analysis.UnivariateMatrixFunction;
|
||||
import org.apache.commons.math4.analysis.UnivariateMatrixFunction;
|
||||
|
||||
/** Interface defining the function differentiation operation.
|
||||
* @since 3.1
|
||||
|
@ -14,9 +14,9 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.differentiation;
|
||||
package org.apache.commons.math4.analysis.differentiation;
|
||||
|
||||
import org.apache.commons.math3.analysis.UnivariateVectorFunction;
|
||||
import org.apache.commons.math4.analysis.UnivariateVectorFunction;
|
||||
|
||||
/** Interface defining the function differentiation operation.
|
||||
* @since 3.1
|
||||
|
@ -19,19 +19,19 @@
|
||||
* <p>
|
||||
* This package holds the main interfaces and basic building block classes
|
||||
* dealing with differentiation.
|
||||
* The core class is {@link org.apache.commons.math3.analysis.differentiation.DerivativeStructure
|
||||
* The core class is {@link org.apache.commons.math4.analysis.differentiation.DerivativeStructure
|
||||
* DerivativeStructure} which holds the value and the differentials of a function. This class
|
||||
* handles some arbitrary number of free parameters and arbitrary differentiation order. It is used
|
||||
* both as the input and the output type for the {@link
|
||||
* org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction
|
||||
* org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction
|
||||
* UnivariateDifferentiableFunction} interface. Any differentiable function should implement this
|
||||
* interface.
|
||||
* </p>
|
||||
* <p>
|
||||
* The {@link org.apache.commons.math3.analysis.differentiation.UnivariateFunctionDifferentiator
|
||||
* The {@link org.apache.commons.math4.analysis.differentiation.UnivariateFunctionDifferentiator
|
||||
* UnivariateFunctionDifferentiator} interface defines a way to differentiate a simple {@link
|
||||
* org.apache.commons.math3.analysis.UnivariateFunction UnivariateFunction} and get a {@link
|
||||
* org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction
|
||||
* org.apache.commons.math4.analysis.UnivariateFunction UnivariateFunction} and get a {@link
|
||||
* org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction
|
||||
* UnivariateDifferentiableFunction}.
|
||||
* </p>
|
||||
* <p>
|
||||
@ -39,4 +39,4 @@
|
||||
* </p>
|
||||
*
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.differentiation;
|
||||
package org.apache.commons.math4.analysis.differentiation;
|
||||
|
@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Absolute value function.
|
||||
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Arc-cosine function.
|
||||
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Hyperbolic arc-cosine function.
|
||||
|
@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.BivariateFunction;
|
||||
import org.apache.commons.math4.analysis.BivariateFunction;
|
||||
|
||||
/**
|
||||
* Add the two operands.
|
||||
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Arc-sine function.
|
||||
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Hyperbolic arc-sine function.
|
||||
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Arc-tangent function.
|
||||
|
@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.BivariateFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.BivariateFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Arc-tangent function.
|
||||
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Hyperbolic arc-tangent function.
|
||||
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Cube root function.
|
||||
|
@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* {@code ceil} function.
|
||||
|
@ -15,11 +15,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
|
||||
/**
|
||||
* Constant function.
|
||||
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Cosine function.
|
||||
|
@ -15,12 +15,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Hyperbolic cosine function.
|
||||
|
@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.BivariateFunction;
|
||||
import org.apache.commons.math4.analysis.BivariateFunction;
|
||||
|
||||
/**
|
||||
* Divide the first operand by the second.
|
||||
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Exponential function.
|
||||
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* <code>e<sup>x</sup>-1</code> function.
|
||||
|
@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* {@code floor} function.
|
||||
|
@ -15,21 +15,21 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.ParametricUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math3.exception.NullArgumentException;
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math3.util.Precision;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.ParametricUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math4.exception.NullArgumentException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
import org.apache.commons.math4.util.Precision;
|
||||
|
||||
/**
|
||||
* <a href="http://en.wikipedia.org/wiki/Gaussian_function">
|
||||
|
@ -15,17 +15,17 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.ParametricUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math3.exception.NullArgumentException;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.ParametricUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NullArgumentException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* <a href="http://en.wikipedia.org/wiki/Harmonic_oscillator">
|
||||
|
@ -15,11 +15,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
|
||||
/**
|
||||
* Identity function.
|
||||
|
@ -15,13 +15,13 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
|
||||
/**
|
||||
* Inverse function.
|
||||
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Natural logarithm function.
|
||||
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Base 10 logarithm function.
|
||||
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* <code>log(1 + p)</code> function.
|
||||
|
@ -15,18 +15,18 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.ParametricUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math3.exception.NullArgumentException;
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.ParametricUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math4.exception.NullArgumentException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* <a href="http://en.wikipedia.org/wiki/Generalised_logistic_function">
|
||||
|
@ -15,18 +15,18 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.ParametricUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math3.exception.NullArgumentException;
|
||||
import org.apache.commons.math3.exception.OutOfRangeException;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.ParametricUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NullArgumentException;
|
||||
import org.apache.commons.math4.exception.OutOfRangeException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* <a href="http://en.wikipedia.org/wiki/Logit">
|
||||
|
@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.BivariateFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.BivariateFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Maximum function.
|
||||
|
@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.BivariateFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.BivariateFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Minimum function.
|
||||
|
@ -15,11 +15,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
|
||||
/**
|
||||
* Minus function.
|
||||
|
@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.BivariateFunction;
|
||||
import org.apache.commons.math4.analysis.BivariateFunction;
|
||||
|
||||
/**
|
||||
* Multiply the two operands.
|
||||
|
@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.BivariateFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.BivariateFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Power function.
|
||||
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Power function.
|
||||
|
@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* {@code rint} function.
|
||||
|
@ -15,19 +15,19 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.ParametricUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.exception.NullArgumentException;
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.ParametricUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NullArgumentException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* <a href="http://en.wikipedia.org/wiki/Sigmoid_function">
|
||||
|
@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* {@code signum} function.
|
||||
|
@ -15,12 +15,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Sine function.
|
||||
|
@ -15,15 +15,15 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* <a href="http://en.wikipedia.org/wiki/Sinc_function">Sinc</a> function,
|
||||
|
@ -15,12 +15,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Hyperbolic sine function.
|
||||
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Square-root function.
|
||||
|
@ -15,15 +15,16 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import java.util.Arrays;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math3.exception.NonMonotonicSequenceException;
|
||||
import org.apache.commons.math3.exception.NullArgumentException;
|
||||
import org.apache.commons.math3.exception.NoDataException;
|
||||
import org.apache.commons.math3.util.MathArrays;
|
||||
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NoDataException;
|
||||
import org.apache.commons.math4.exception.NonMonotonicSequenceException;
|
||||
import org.apache.commons.math4.exception.NullArgumentException;
|
||||
import org.apache.commons.math4.util.MathArrays;
|
||||
|
||||
/**
|
||||
* <a href="http://en.wikipedia.org/wiki/Step_function">
|
||||
|
@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.BivariateFunction;
|
||||
import org.apache.commons.math4.analysis.BivariateFunction;
|
||||
|
||||
/**
|
||||
* Subtract the second operand from the first.
|
||||
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Tangent function.
|
||||
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.FunctionUtils;
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.DifferentiableUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.FunctionUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Hyperbolic tangent function.
|
||||
|
@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* {@code ulp} function.
|
||||
|
@ -23,4 +23,4 @@
|
||||
* </p>
|
||||
*
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.function;
|
||||
package org.apache.commons.math4.analysis.function;
|
||||
|
@ -14,18 +14,18 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.integration;
|
||||
package org.apache.commons.math4.analysis.integration;
|
||||
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.solvers.UnivariateSolverUtils;
|
||||
import org.apache.commons.math3.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math3.exception.MaxCountExceededException;
|
||||
import org.apache.commons.math3.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math3.exception.NullArgumentException;
|
||||
import org.apache.commons.math3.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math3.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math3.util.Incrementor;
|
||||
import org.apache.commons.math3.util.MathUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.solvers.UnivariateSolverUtils;
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math4.exception.MaxCountExceededException;
|
||||
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math4.exception.NullArgumentException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math4.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math4.util.Incrementor;
|
||||
import org.apache.commons.math4.util.MathUtils;
|
||||
|
||||
/**
|
||||
* Provide a default implementation for several generic functions.
|
||||
@ -80,7 +80,7 @@ public abstract class BaseAbstractUnivariateIntegrator implements UnivariateInte
|
||||
* achieved due to large values or short mantissa length. If this
|
||||
* should be the primary criterion for convergence rather then a
|
||||
* safety measure, set the absolute accuracy to a ridiculously small value,
|
||||
* like {@link org.apache.commons.math3.util.Precision#SAFE_MIN Precision.SAFE_MIN}.</li>
|
||||
* like {@link org.apache.commons.math4.util.Precision#SAFE_MIN Precision.SAFE_MIN}.</li>
|
||||
* <li>absolute accuracy:
|
||||
* The default is usually chosen so that results in the interval
|
||||
* -10..-0.1 and +0.1..+10 can be found with a reasonable accuracy. If the
|
||||
|
@ -14,18 +14,18 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.integration;
|
||||
package org.apache.commons.math4.analysis.integration;
|
||||
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.analysis.integration.gauss.GaussIntegratorFactory;
|
||||
import org.apache.commons.math3.analysis.integration.gauss.GaussIntegrator;
|
||||
import org.apache.commons.math3.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math3.exception.MaxCountExceededException;
|
||||
import org.apache.commons.math3.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math3.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math3.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math3.exception.util.LocalizedFormats;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegrator;
|
||||
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegratorFactory;
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math4.exception.MaxCountExceededException;
|
||||
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math4.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math4.exception.util.LocalizedFormats;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* This algorithm divides the integration interval into equally-sized
|
||||
|
@ -14,15 +14,15 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.integration;
|
||||
package org.apache.commons.math4.analysis.integration;
|
||||
|
||||
import org.apache.commons.math3.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math3.exception.MaxCountExceededException;
|
||||
import org.apache.commons.math3.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math3.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math3.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math3.exception.util.LocalizedFormats;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math4.exception.MaxCountExceededException;
|
||||
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math4.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math4.exception.util.LocalizedFormats;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Implements the <a href="http://mathworld.wolfram.com/Legendre-GaussQuadrature.html">
|
||||
|
@ -14,15 +14,15 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.integration;
|
||||
package org.apache.commons.math4.analysis.integration;
|
||||
|
||||
import org.apache.commons.math3.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math3.exception.MaxCountExceededException;
|
||||
import org.apache.commons.math3.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math3.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math3.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math3.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math4.exception.MaxCountExceededException;
|
||||
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math4.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Implements the <a href="http://en.wikipedia.org/wiki/Midpoint_method">
|
||||
|
@ -14,14 +14,14 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.integration;
|
||||
package org.apache.commons.math4.analysis.integration;
|
||||
|
||||
import org.apache.commons.math3.exception.MaxCountExceededException;
|
||||
import org.apache.commons.math3.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math3.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math3.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math3.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.exception.MaxCountExceededException;
|
||||
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math4.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Implements the <a href="http://mathworld.wolfram.com/RombergIntegration.html">
|
||||
|
@ -14,14 +14,14 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.integration;
|
||||
package org.apache.commons.math4.analysis.integration;
|
||||
|
||||
import org.apache.commons.math3.exception.MaxCountExceededException;
|
||||
import org.apache.commons.math3.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math3.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math3.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math3.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.exception.MaxCountExceededException;
|
||||
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math4.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Implements <a href="http://mathworld.wolfram.com/SimpsonsRule.html">
|
||||
|
@ -14,15 +14,15 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.integration;
|
||||
package org.apache.commons.math4.analysis.integration;
|
||||
|
||||
import org.apache.commons.math3.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math3.exception.MaxCountExceededException;
|
||||
import org.apache.commons.math3.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math3.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math3.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math3.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math4.exception.MaxCountExceededException;
|
||||
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math4.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
* Implements the <a href="http://mathworld.wolfram.com/TrapezoidalRule.html">
|
||||
|
@ -14,13 +14,13 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.integration;
|
||||
package org.apache.commons.math4.analysis.integration;
|
||||
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math3.exception.MaxCountExceededException;
|
||||
import org.apache.commons.math3.exception.NullArgumentException;
|
||||
import org.apache.commons.math3.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math4.exception.MaxCountExceededException;
|
||||
import org.apache.commons.math4.exception.NullArgumentException;
|
||||
import org.apache.commons.math4.exception.TooManyEvaluationsException;
|
||||
|
||||
/**
|
||||
* Interface for univariate real integration algorithms.
|
||||
|
@ -14,14 +14,15 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.integration.gauss;
|
||||
package org.apache.commons.math4.analysis.integration.gauss;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.TreeMap;
|
||||
import org.apache.commons.math3.util.Pair;
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math3.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math3.exception.util.LocalizedFormats;
|
||||
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math4.exception.util.LocalizedFormats;
|
||||
import org.apache.commons.math4.util.Pair;
|
||||
|
||||
/**
|
||||
* Base class for rules that determines the integration nodes and their
|
||||
|
@ -14,13 +14,13 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.integration.gauss;
|
||||
package org.apache.commons.math4.analysis.integration.gauss;
|
||||
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math3.exception.NonMonotonicSequenceException;
|
||||
import org.apache.commons.math3.util.MathArrays;
|
||||
import org.apache.commons.math3.util.Pair;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NonMonotonicSequenceException;
|
||||
import org.apache.commons.math4.util.MathArrays;
|
||||
import org.apache.commons.math4.util.Pair;
|
||||
|
||||
/**
|
||||
* Class that implements the Gaussian rule for
|
||||
|
@ -14,13 +14,13 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.integration.gauss;
|
||||
package org.apache.commons.math4.analysis.integration.gauss;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math3.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math3.util.Pair;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math4.util.Pair;
|
||||
|
||||
/**
|
||||
* Class that provides different ways to compute the nodes and weights to be
|
||||
@ -39,7 +39,7 @@ public class GaussIntegratorFactory {
|
||||
/**
|
||||
* Creates a Gauss-Legendre integrator of the given order.
|
||||
* The call to the
|
||||
* {@link GaussIntegrator#integrate(org.apache.commons.math3.analysis.UnivariateFunction)
|
||||
* {@link GaussIntegrator#integrate(org.apache.commons.math4.analysis.UnivariateFunction)
|
||||
* integrate} method will perform an integration on the natural interval
|
||||
* {@code [-1 , 1]}.
|
||||
*
|
||||
@ -53,7 +53,7 @@ public class GaussIntegratorFactory {
|
||||
/**
|
||||
* Creates a Gauss-Legendre integrator of the given order.
|
||||
* The call to the
|
||||
* {@link GaussIntegrator#integrate(org.apache.commons.math3.analysis.UnivariateFunction)
|
||||
* {@link GaussIntegrator#integrate(org.apache.commons.math4.analysis.UnivariateFunction)
|
||||
* integrate} method will perform an integration on the given interval.
|
||||
*
|
||||
* @param numberOfPoints Order of the integration rule.
|
||||
@ -73,7 +73,7 @@ public class GaussIntegratorFactory {
|
||||
/**
|
||||
* Creates a Gauss-Legendre integrator of the given order.
|
||||
* The call to the
|
||||
* {@link GaussIntegrator#integrate(org.apache.commons.math3.analysis.UnivariateFunction)
|
||||
* {@link GaussIntegrator#integrate(org.apache.commons.math4.analysis.UnivariateFunction)
|
||||
* integrate} method will perform an integration on the natural interval
|
||||
* {@code [-1 , 1]}.
|
||||
*
|
||||
@ -88,7 +88,7 @@ public class GaussIntegratorFactory {
|
||||
|
||||
/**
|
||||
* Creates an integrator of the given order, and whose call to the
|
||||
* {@link GaussIntegrator#integrate(org.apache.commons.math3.analysis.UnivariateFunction)
|
||||
* {@link GaussIntegrator#integrate(org.apache.commons.math4.analysis.UnivariateFunction)
|
||||
* integrate} method will perform an integration on the given interval.
|
||||
*
|
||||
* @param numberOfPoints Order of the integration rule.
|
||||
@ -108,14 +108,14 @@ public class GaussIntegratorFactory {
|
||||
/**
|
||||
* Creates a Gauss-Hermite integrator of the given order.
|
||||
* The call to the
|
||||
* {@link SymmetricGaussIntegrator#integrate(org.apache.commons.math3.analysis.UnivariateFunction)
|
||||
* {@link SymmetricGaussIntegrator#integrate(org.apache.commons.math4.analysis.UnivariateFunction)
|
||||
* integrate} method will perform a weighted integration on the interval
|
||||
* {@code [-&inf;, +&inf;]}: the computed value is the improper integral of
|
||||
* <code>
|
||||
* e<sup>-x<sup>2</sup></sup> f(x)
|
||||
* </code>
|
||||
* where {@code f(x)} is the function passed to the
|
||||
* {@link SymmetricGaussIntegrator#integrate(org.apache.commons.math3.analysis.UnivariateFunction)
|
||||
* {@link SymmetricGaussIntegrator#integrate(org.apache.commons.math4.analysis.UnivariateFunction)
|
||||
* integrate} method.
|
||||
*
|
||||
* @param numberOfPoints Order of the integration rule.
|
||||
|
@ -14,11 +14,11 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.integration.gauss;
|
||||
package org.apache.commons.math4.analysis.integration.gauss;
|
||||
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math3.util.Pair;
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
import org.apache.commons.math4.util.Pair;
|
||||
|
||||
/**
|
||||
* Factory that creates a
|
||||
|
@ -14,13 +14,13 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.integration.gauss;
|
||||
package org.apache.commons.math4.analysis.integration.gauss;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.math.MathContext;
|
||||
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math3.util.Pair;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.util.Pair;
|
||||
|
||||
/**
|
||||
* Factory that creates Gauss-type quadrature rule using Legendre polynomials.
|
||||
|
@ -14,10 +14,10 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.integration.gauss;
|
||||
package org.apache.commons.math4.analysis.integration.gauss;
|
||||
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math3.util.Pair;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.util.Pair;
|
||||
|
||||
/**
|
||||
* Factory that creates Gauss-type quadrature rule using Legendre polynomials.
|
||||
|
@ -14,12 +14,12 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math3.analysis.integration.gauss;
|
||||
package org.apache.commons.math4.analysis.integration.gauss;
|
||||
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math3.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math3.exception.NonMonotonicSequenceException;
|
||||
import org.apache.commons.math3.util.Pair;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NonMonotonicSequenceException;
|
||||
import org.apache.commons.math4.util.Pair;
|
||||
|
||||
/**
|
||||
* This class's implements {@link #integrate(UnivariateFunction) integrate}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user