From aa0bca8ae0c6a3fda8c1f38ed64faa87e5e53c8a Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Wed, 1 Mar 2023 11:18:32 +0100 Subject: [PATCH 1/2] Update dependency name --- .../BaselineOfPolyMath.class.st | 197 ++++++++---------- 1 file changed, 87 insertions(+), 110 deletions(-) diff --git a/src/BaselineOfPolyMath/BaselineOfPolyMath.class.st b/src/BaselineOfPolyMath/BaselineOfPolyMath.class.st index bd9e67ae..a0b639c1 100644 --- a/src/BaselineOfPolyMath/BaselineOfPolyMath.class.st +++ b/src/BaselineOfPolyMath/BaselineOfPolyMath.class.st @@ -17,112 +17,89 @@ Class { { #category : #baseline } BaselineOfPolyMath >> baseline: spec [ + - spec - for: #common - do: [ - "External dependencies" - self - sMark: spec; - xmlWriter: spec; - polyMathDataStructures: spec; - randomNumbers: spec. + spec for: #common do: [ "External dependencies" + self + sMark: spec; + xmlWriter: spec; + vectorMatrix: spec; + randomNumbers: spec. + + spec + package: 'ExtendedNumberParser'; + package: 'Math-Accuracy-Core'; + package: 'Math-Accuracy-ODE' with: [ spec requires: #( 'Math-ODE' 'XMLWriter' ) ]; + package: 'Math-ArbitraryPrecisionFloat' with: [ spec requires: #( 'ExtendedNumberParser' ) ]; + package: 'Math-AutomaticDifferenciation' with: [ spec requires: #( 'Math-Numerical' 'PolyMathDataStructures' ) ]; + package: 'Math-Benchmarks-KDTree' with: [ spec requires: #( 'Math-KDTree' 'SMark' ) ]; + package: 'Math-Benchmarks-ODE' with: [ spec requires: #( 'Math-ODE' 'SMark' 'XMLWriter' ) ]; + package: 'Math-Chromosome' with: [ spec requires: #( 'PolyMathDataStructures' ) ]; + package: 'Math-Clustering' with: [ spec requires: #( 'Math-Numerical' 'Math-Core-Process' 'PolyMathDataStructures' ) ]; + package: 'Math-Complex' with: [ spec requires: #( 'Math-Numerical' 'Math-Polynomials' ) ]; + package: 'Math-Helpers'; + package: 'Math-Distributions' with: [ spec requires: #( 'PolyMathDataStructures' 'Math-Quantile' 'Math-Core-Process' ) ]; + package: 'Math-Core-Process' with: [ spec requires: #( 'Math-Helpers' ) ]; + package: 'Math-Numerical' + with: [ spec requires: #( 'PolyMathDataStructures' 'Math-Helpers' 'Math-Core-Process' 'Math-Distributions' 'Math-StatisticalMoments' + 'Math-Series' ) ]; + package: 'Math-Polynomials' + with: [ spec requires: #( 'PolyMathDataStructures' 'Math-Helpers' 'Math-Core-Process' 'Math-Distributions' 'Math-StatisticalMoments' + 'Math-Series' ) ]; + package: 'Math-FastFourierTransform' with: [ spec requires: #( 'Math-Complex' ) ]; + package: 'Math-FunctionFit' + with: [ spec requires: #( 'Math-Numerical' 'Math-Chromosome' 'Math-Accuracy-Core' 'PolyMathDataStructures' 'Math-Helpers' 'Math-Polynomials' ) ]; + package: 'Math-KDTree'; + package: 'Math-Number-Extensions'; + package: 'Math-ODE' with: [ spec requires: #( 'Math-Numerical' 'PolyMathDataStructures' 'Math-Polynomials' ) ]; + package: 'Math-Permutation' with: [ spec requires: #( 'PolyMathDataStructures' 'Math-Core-Process' ) ]; + package: 'Math-Physics-Constants'; + package: 'Math-PrincipalComponentAnalysis' with: [ spec requires: #( 'Math-Numerical' 'PolyMathDataStructures' 'Math-Polynomials' ) ]; + package: 'Math-Quantile'; + package: 'Math-Quaternion' with: [ spec requires: #( 'Math-Complex' 'Math-Numerical' 'Math-Polynomials' ) ]; + package: 'Math-Series'; + package: 'Math-StatisticalMoments' with: [ spec requires: #( 'Math-Helpers' 'Math-Distributions' ) ]; + package: 'Math-TSNE'; + package: 'Math-Tests-Accuracy' with: [ spec requires: #( 'Math-Accuracy-Core' ) ]; + package: 'Math-Tests-ArbitraryPrecisionFloat' with: [ spec requires: #( 'Math-ArbitraryPrecisionFloat' ) ]; + package: 'Math-Tests-AutomaticDifferenciation' with: [ spec requires: #( 'Math-AutomaticDifferenciation' 'PolyMathDataStructures' ) ]; + package: 'Math-Tests-Clustering' with: [ spec requires: #( 'Math-Clustering' 'Math-Distributions' 'Math-UtilsDataServer' ) ]; + package: 'Math-Tests-Complex' with: [ spec requires: #( 'Math-Complex' ) ]; + package: 'Math-Tests-Distributions' with: [ spec requires: #( 'Math-Distributions' ) ]; + package: 'Math-Tests-Core-Process' with: [ spec requires: #( 'Math-Core-Process' ) ]; + package: 'Math-Tests-Numerical' with: [ spec requires: #( 'Math-Numerical' 'Math-UtilsDataServer' ) ]; + package: 'Math-Tests-FastFourierTransform' with: [ spec requires: #( 'Math-FastFourierTransform' 'Math-Numerical' 'Math-Polynomials' ) ]; + package: 'Math-Tests-FunctionFit'; + package: 'Math-Tests-KDTree' with: [ spec requires: #( 'Math-KDTree' ) ]; + package: 'Math-Tests-Number-Extensions' with: [ spec requires: #( 'Math-Number-Extensions' ) ]; + package: 'Math-Tests-ODE' with: [ spec requires: #( 'Math-ODE' ) ]; + package: 'Math-Tests-Permutation' with: [ spec requires: #( 'Math-Permutation' ) ]; + package: 'Math-Tests-PrincipalComponentAnalysis' with: [ spec requires: #( 'Math-PrincipalComponentAnalysis' ) ]; + package: 'Math-Tests-Quantile' with: [ spec requires: #( 'Math-Quantile' ) ]; + package: 'Math-Tests-Polynomials' with: [ spec requires: #( 'Math-Polynomials' ) ]; + package: 'Math-Tests-Quaternion' with: [ spec requires: #( 'Math-Quaternion' ) ]; + package: 'Math-Tests-TSNE' with: [ spec requires: #( 'Math-TSNE' ) ]; + package: 'Math-UtilsDataServer'. + spec + group: 'Accuracy' with: #( 'Math-Accuracy-ODE' 'Math-Accuracy-Core' ); + group: 'Benchmarks' with: #( 'Math-Benchmarks-ODE' 'Math-Benchmarks-KDTree' ); + group: 'Core' + with: + #( 'Math-Complex' 'Math-Quaternion' 'Math-Numerical' 'MathRandomNumbers' 'Math-KDTree' 'Math-ODE' 'Math-ArbitraryPrecisionFloat' + 'Math-FastFourierTransform' 'ExtendedNumberParser' 'Math-Quantile' 'Math-Physics-Constants' 'Math-Polynomials' 'Math-TSNE' 'Math-Core-Process' + 'Math-Helpers' 'PolyMathDataStructures' 'Math-Distributions' ); + group: 'Extensions' + with: #( 'Math-Clustering' 'Math-Number-Extensions' 'Math-Chromosome' 'Math-PrincipalComponentAnalysis' 'Math-FunctionFit' 'Math-AutomaticDifferenciation' + 'Math-Permutation' ); + group: 'Tests' + with: + #( 'Math-Tests-Clustering' 'Math-Tests-Numerical' 'Math-Tests-Complex' 'Math-Tests-Quaternion' 'Math-Tests-ODE' 'Math-Tests-KDTree' 'Math-Tests-FunctionFit' + 'Math-Tests-AutomaticDifferenciation' 'Math-Tests-FastFourierTransform' 'Math-Tests-Accuracy' 'Math-Tests-ArbitraryPrecisionFloat' + 'Math-Tests-Quantile' 'Math-Tests-Polynomials' 'Math-Tests-PrincipalComponentAnalysis' 'Math-Tests-Number-Extensions' 'Math-Tests-Permutation' + 'Math-Tests-TSNE' 'Math-Tests-Core-Process' 'Math-Tests-Distributions' ); + group: 'default' with: #( 'Core' 'Extensions' 'Tests' 'Benchmarks' 'Accuracy' ) ]. - spec - package: 'ExtendedNumberParser'; - package: 'Math-Accuracy-Core'; - package: 'Math-Accuracy-ODE' - with: [ spec requires: #('Math-ODE' 'XMLWriter') ]; - package: 'Math-ArbitraryPrecisionFloat' - with: [ spec requires: #('ExtendedNumberParser') ]; - package: 'Math-AutomaticDifferenciation' - with: [ spec requires: #('Math-Numerical' 'PolyMathDataStructures') ]; - package: 'Math-Benchmarks-KDTree' - with: [ spec requires: #('Math-KDTree' 'SMark') ]; - package: 'Math-Benchmarks-ODE' - with: [ spec requires: #('Math-ODE' 'SMark' 'XMLWriter') ]; - package: 'Math-Chromosome' with: [ spec requires: #('PolyMathDataStructures') ]; - package: 'Math-Clustering' with: [ spec requires: #('Math-Numerical' 'Math-Core-Process' 'PolyMathDataStructures') ]; - package: 'Math-Complex' - with: [ spec requires: #('Math-Numerical' 'Math-Polynomials') ]; - package: 'Math-Helpers'; - package: 'Math-Distributions' with: [ spec requires: #('PolyMathDataStructures' 'Math-Quantile' 'Math-Core-Process') ]; - package: 'Math-Core-Process' with: [ spec requires: #('Math-Helpers') ]; - package: 'Math-Numerical' with: [ spec requires: #('PolyMathDataStructures' 'Math-Helpers' 'Math-Core-Process' 'Math-Distributions' 'Math-StatisticalMoments' 'Math-Series') ]; - package: 'Math-Polynomials' with: [ spec requires: #('PolyMathDataStructures' 'Math-Helpers' 'Math-Core-Process' 'Math-Distributions' 'Math-StatisticalMoments' 'Math-Series') ]; - package: 'Math-FastFourierTransform' - with: [ spec requires: #('Math-Complex') ]; - package: 'Math-FunctionFit' - with: [ spec - requires: - #('Math-Numerical' 'Math-Chromosome' 'Math-Accuracy-Core' 'PolyMathDataStructures' 'Math-Helpers' 'Math-Polynomials') ]; - package: 'Math-KDTree'; - package: 'Math-Number-Extensions'; - package: 'Math-ODE' with: [ spec requires: #('Math-Numerical' 'PolyMathDataStructures' 'Math-Polynomials') ]; - package: 'Math-Permutation' with: [ spec requires: #('PolyMathDataStructures' 'Math-Core-Process') ]; - package: 'Math-Physics-Constants'; - package: 'Math-PrincipalComponentAnalysis' with: [ spec requires: #('Math-Numerical' 'PolyMathDataStructures' 'Math-Polynomials') ]; - package: 'Math-Quantile'; - package: 'Math-Quaternion' - with: - [ spec requires: #('Math-Complex' 'Math-Numerical' 'Math-Polynomials') ]; - package: 'Math-Series'; - package: 'Math-StatisticalMoments' with: [ spec requires: #('Math-Helpers' 'Math-Distributions') ]; - package: 'Math-TSNE'; - package: 'Math-Tests-Accuracy' - with: [ spec requires: #('Math-Accuracy-Core') ]; - package: 'Math-Tests-ArbitraryPrecisionFloat' - with: [ spec requires: #('Math-ArbitraryPrecisionFloat') ]; - package: 'Math-Tests-AutomaticDifferenciation' with: [ spec requires: #('Math-AutomaticDifferenciation' 'PolyMathDataStructures') ]; - package: 'Math-Tests-Clustering' with: [ spec requires: #('Math-Clustering' 'Math-Distributions' 'Math-UtilsDataServer') ]; - package: 'Math-Tests-Complex' - with: [ spec requires: #('Math-Complex') ]; - package: 'Math-Tests-Distributions' - with: [ spec requires: #('Math-Distributions') ]; - package: 'Math-Tests-Core-Process' - with: [ spec requires: #('Math-Core-Process') ]; - package: 'Math-Tests-Numerical' - with: [ spec requires: #('Math-Numerical' 'Math-UtilsDataServer') ]; - package: 'Math-Tests-FastFourierTransform' - with: [ spec - requires: #('Math-FastFourierTransform' 'Math-Numerical' 'Math-Polynomials') ]; - package: 'Math-Tests-FunctionFit'; - package: 'Math-Tests-KDTree' - with: [ spec requires: #('Math-KDTree') ]; - package: 'Math-Tests-Number-Extensions' - with: [ spec requires: #('Math-Number-Extensions') ]; - package: 'Math-Tests-ODE' with: [ spec requires: #('Math-ODE') ]; - package: 'Math-Tests-Permutation' - with: [ spec requires: #('Math-Permutation') ]; - package: 'Math-Tests-PrincipalComponentAnalysis' - with: [ spec requires: #('Math-PrincipalComponentAnalysis') ]; - package: 'Math-Tests-Quantile' - with: [ spec requires: #('Math-Quantile') ]; - package: 'Math-Tests-Polynomials' - with: [ spec requires: #('Math-Polynomials') ]; - package: 'Math-Tests-Quaternion' - with: [ spec requires: #('Math-Quaternion') ]; - package: 'Math-Tests-TSNE' - with: [ spec requires: #('Math-TSNE') ]; - package: 'Math-UtilsDataServer'. - spec - group: 'Accuracy' - with: #('Math-Accuracy-ODE' 'Math-Accuracy-Core'); - group: 'Benchmarks' - with: #('Math-Benchmarks-ODE' 'Math-Benchmarks-KDTree'); - group: 'Core' - with: - #('Math-Complex' 'Math-Quaternion' 'Math-Numerical' 'MathRandomNumbers' 'Math-KDTree' 'Math-ODE' 'Math-ArbitraryPrecisionFloat' 'Math-FastFourierTransform' 'ExtendedNumberParser' 'Math-Quantile' 'Math-Physics-Constants' 'Math-Polynomials' 'Math-TSNE' 'Math-Core-Process' 'Math-Helpers' 'PolyMathDataStructures' 'Math-Distributions'); - group: 'Extensions' - with: - #('Math-Clustering' 'Math-Number-Extensions' 'Math-Chromosome' 'Math-PrincipalComponentAnalysis' 'Math-FunctionFit' 'Math-AutomaticDifferenciation' 'Math-Permutation'); - group: 'Tests' - with: - #('Math-Tests-Clustering' 'Math-Tests-Numerical' 'Math-Tests-Complex' 'Math-Tests-Quaternion' 'Math-Tests-ODE' 'Math-Tests-KDTree' 'Math-Tests-FunctionFit' 'Math-Tests-AutomaticDifferenciation' 'Math-Tests-FastFourierTransform' 'Math-Tests-Accuracy' 'Math-Tests-ArbitraryPrecisionFloat' 'Math-Tests-Quantile' 'Math-Tests-Polynomials' 'Math-Tests-PrincipalComponentAnalysis' 'Math-Tests-Number-Extensions' 'Math-Tests-Permutation' 'Math-Tests-TSNE' 'Math-Tests-Core-Process' 'Math-Tests-Distributions'); - group: 'default' - with: #('Core' 'Extensions' 'Tests' 'Benchmarks' 'Accuracy') ]. - - spec for: #( #'pharo6.x' #'pharo7.x' #'pharo8.x' #'pharo9.x' #'pharo10.x' ) do: [ + spec for: #( #'pharo6.x' #'pharo7.x' #'pharo8.x' #'pharo9.x' #'pharo10.x' ) do: [ spec package: 'Math-Numerical' with: [ spec requires: #( 'Math-CompatibilityUpToPharo11' ) ]; package: 'Math-Benchmarks-KDTree' with: [ spec requires: #( 'Math-CompatibilityUpToPharo11' ) ]; @@ -130,12 +107,6 @@ BaselineOfPolyMath >> baseline: spec [ package: 'Math-CompatibilityUpToPharo11' ] ] -{ #category : #dependencies } -BaselineOfPolyMath >> polyMathDataStructures: spec [ - - spec baseline: 'PolyMathDataStructures' with: [ spec repository: 'github://PolyMathOrg/PolyMath-DataStructures:v1.x.x/src' ] -] - { #category : #accessing } BaselineOfPolyMath >> projectClass [ ^ [ self class environment at: #MetacelloCypressBaselineProject ] @@ -155,6 +126,12 @@ BaselineOfPolyMath >> sMark: spec [ spec baseline: 'SMark' with: [ spec repository: 'github://smarr/SMark:v1.0.4' ] ] +{ #category : #dependencies } +BaselineOfPolyMath >> vectorMatrix: spec [ + + spec baseline: 'MathVectorMatrix' with: [ spec repository: 'github://PolyMathOrg/vector-matrix:v1.x.x/src' ] +] + { #category : #dependencies } BaselineOfPolyMath >> xmlWriter: spec [ From c2a3e7b9d784f5f65d485f97041e779d28946dd3 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Wed, 1 Mar 2023 11:20:56 +0100 Subject: [PATCH 2/2] Replace old names --- .../BaselineOfPolyMath.class.st | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/BaselineOfPolyMath/BaselineOfPolyMath.class.st b/src/BaselineOfPolyMath/BaselineOfPolyMath.class.st index a0b639c1..40945368 100644 --- a/src/BaselineOfPolyMath/BaselineOfPolyMath.class.st +++ b/src/BaselineOfPolyMath/BaselineOfPolyMath.class.st @@ -31,30 +31,30 @@ BaselineOfPolyMath >> baseline: spec [ package: 'Math-Accuracy-Core'; package: 'Math-Accuracy-ODE' with: [ spec requires: #( 'Math-ODE' 'XMLWriter' ) ]; package: 'Math-ArbitraryPrecisionFloat' with: [ spec requires: #( 'ExtendedNumberParser' ) ]; - package: 'Math-AutomaticDifferenciation' with: [ spec requires: #( 'Math-Numerical' 'PolyMathDataStructures' ) ]; + package: 'Math-AutomaticDifferenciation' with: [ spec requires: #( 'Math-Numerical' 'MathVectorMatrix' ) ]; package: 'Math-Benchmarks-KDTree' with: [ spec requires: #( 'Math-KDTree' 'SMark' ) ]; package: 'Math-Benchmarks-ODE' with: [ spec requires: #( 'Math-ODE' 'SMark' 'XMLWriter' ) ]; - package: 'Math-Chromosome' with: [ spec requires: #( 'PolyMathDataStructures' ) ]; - package: 'Math-Clustering' with: [ spec requires: #( 'Math-Numerical' 'Math-Core-Process' 'PolyMathDataStructures' ) ]; + package: 'Math-Chromosome' with: [ spec requires: #( 'MathVectorMatrix' ) ]; + package: 'Math-Clustering' with: [ spec requires: #( 'Math-Numerical' 'Math-Core-Process' 'MathVectorMatrix' ) ]; package: 'Math-Complex' with: [ spec requires: #( 'Math-Numerical' 'Math-Polynomials' ) ]; package: 'Math-Helpers'; - package: 'Math-Distributions' with: [ spec requires: #( 'PolyMathDataStructures' 'Math-Quantile' 'Math-Core-Process' ) ]; + package: 'Math-Distributions' with: [ spec requires: #( 'MathVectorMatrix' 'Math-Quantile' 'Math-Core-Process' ) ]; package: 'Math-Core-Process' with: [ spec requires: #( 'Math-Helpers' ) ]; package: 'Math-Numerical' - with: [ spec requires: #( 'PolyMathDataStructures' 'Math-Helpers' 'Math-Core-Process' 'Math-Distributions' 'Math-StatisticalMoments' + with: [ spec requires: #( 'MathVectorMatrix' 'Math-Helpers' 'Math-Core-Process' 'Math-Distributions' 'Math-StatisticalMoments' 'Math-Series' ) ]; package: 'Math-Polynomials' - with: [ spec requires: #( 'PolyMathDataStructures' 'Math-Helpers' 'Math-Core-Process' 'Math-Distributions' 'Math-StatisticalMoments' + with: [ spec requires: #( 'MathVectorMatrix' 'Math-Helpers' 'Math-Core-Process' 'Math-Distributions' 'Math-StatisticalMoments' 'Math-Series' ) ]; package: 'Math-FastFourierTransform' with: [ spec requires: #( 'Math-Complex' ) ]; package: 'Math-FunctionFit' - with: [ spec requires: #( 'Math-Numerical' 'Math-Chromosome' 'Math-Accuracy-Core' 'PolyMathDataStructures' 'Math-Helpers' 'Math-Polynomials' ) ]; + with: [ spec requires: #( 'Math-Numerical' 'Math-Chromosome' 'Math-Accuracy-Core' 'MathVectorMatrix' 'Math-Helpers' 'Math-Polynomials' ) ]; package: 'Math-KDTree'; package: 'Math-Number-Extensions'; - package: 'Math-ODE' with: [ spec requires: #( 'Math-Numerical' 'PolyMathDataStructures' 'Math-Polynomials' ) ]; - package: 'Math-Permutation' with: [ spec requires: #( 'PolyMathDataStructures' 'Math-Core-Process' ) ]; + package: 'Math-ODE' with: [ spec requires: #( 'Math-Numerical' 'MathVectorMatrix' 'Math-Polynomials' ) ]; + package: 'Math-Permutation' with: [ spec requires: #( 'MathVectorMatrix' 'Math-Core-Process' ) ]; package: 'Math-Physics-Constants'; - package: 'Math-PrincipalComponentAnalysis' with: [ spec requires: #( 'Math-Numerical' 'PolyMathDataStructures' 'Math-Polynomials' ) ]; + package: 'Math-PrincipalComponentAnalysis' with: [ spec requires: #( 'Math-Numerical' 'MathVectorMatrix' 'Math-Polynomials' ) ]; package: 'Math-Quantile'; package: 'Math-Quaternion' with: [ spec requires: #( 'Math-Complex' 'Math-Numerical' 'Math-Polynomials' ) ]; package: 'Math-Series'; @@ -62,7 +62,7 @@ BaselineOfPolyMath >> baseline: spec [ package: 'Math-TSNE'; package: 'Math-Tests-Accuracy' with: [ spec requires: #( 'Math-Accuracy-Core' ) ]; package: 'Math-Tests-ArbitraryPrecisionFloat' with: [ spec requires: #( 'Math-ArbitraryPrecisionFloat' ) ]; - package: 'Math-Tests-AutomaticDifferenciation' with: [ spec requires: #( 'Math-AutomaticDifferenciation' 'PolyMathDataStructures' ) ]; + package: 'Math-Tests-AutomaticDifferenciation' with: [ spec requires: #( 'Math-AutomaticDifferenciation' 'MathVectorMatrix' ) ]; package: 'Math-Tests-Clustering' with: [ spec requires: #( 'Math-Clustering' 'Math-Distributions' 'Math-UtilsDataServer' ) ]; package: 'Math-Tests-Complex' with: [ spec requires: #( 'Math-Complex' ) ]; package: 'Math-Tests-Distributions' with: [ spec requires: #( 'Math-Distributions' ) ]; @@ -87,7 +87,7 @@ BaselineOfPolyMath >> baseline: spec [ with: #( 'Math-Complex' 'Math-Quaternion' 'Math-Numerical' 'MathRandomNumbers' 'Math-KDTree' 'Math-ODE' 'Math-ArbitraryPrecisionFloat' 'Math-FastFourierTransform' 'ExtendedNumberParser' 'Math-Quantile' 'Math-Physics-Constants' 'Math-Polynomials' 'Math-TSNE' 'Math-Core-Process' - 'Math-Helpers' 'PolyMathDataStructures' 'Math-Distributions' ); + 'Math-Helpers' 'MathVectorMatrix' 'Math-Distributions' ); group: 'Extensions' with: #( 'Math-Clustering' 'Math-Number-Extensions' 'Math-Chromosome' 'Math-PrincipalComponentAnalysis' 'Math-FunctionFit' 'Math-AutomaticDifferenciation' 'Math-Permutation' );