Skip to content

Commit fffb8c9

Browse files
authored
Merge pull request #308 from jecisc/make-random-numbers-external
Make random numbers external
2 parents d8b31ba + 873f8d7 commit fffb8c9

33 files changed

+10
-1692
lines changed

src/BaselineOfPolyMath/BaselineOfPolyMath.class.st

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ BaselineOfPolyMath >> baseline: spec [
2525
self
2626
sMark: spec;
2727
xmlWriter: spec;
28-
polyMathDataStructures: spec.
28+
polyMathDataStructures: spec;
29+
randomNumbers: spec.
2930

3031
spec
3132
package: 'ExtendedNumberParser';
@@ -74,7 +75,6 @@ BaselineOfPolyMath >> baseline: spec [
7475
package: 'Math-Quaternion'
7576
with:
7677
[ spec requires: #('Math-Complex' 'Math-Numerical' 'Math-Polynomials') ];
77-
package: 'Math-Random';
7878
package: 'Math-Series';
7979
package: 'Math-StatisticalMoments' with: [ spec requires: #('Math-Helpers' 'Math-DistributionForHistogram') ];
8080
package: 'Math-TSNE';
@@ -116,8 +116,6 @@ BaselineOfPolyMath >> baseline: spec [
116116
with: [ spec requires: #('Math-Polynomials') ];
117117
package: 'Math-Tests-Quaternion'
118118
with: [ spec requires: #('Math-Quaternion') ];
119-
package: 'Math-Tests-Random'
120-
with: [ spec requires: #('Math-Random') ];
121119
package: 'Math-Tests-TSNE'
122120
with: [ spec requires: #('Math-TSNE') ];
123121
package: 'Math-UtilsDataServer'.
@@ -128,13 +126,13 @@ BaselineOfPolyMath >> baseline: spec [
128126
with: #('Math-Benchmarks-ODE' 'Math-Benchmarks-KDTree');
129127
group: 'Core'
130128
with:
131-
#('Math-Complex' 'Math-Quaternion' 'Math-Numerical' 'Math-Random' '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-Core-Distribution');
129+
#('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-Core-Distribution');
132130
group: 'Extensions'
133131
with:
134132
#('Math-Clustering' 'Math-Number-Extensions' 'Math-Chromosome' 'Math-PrincipalComponentAnalysis' 'Math-FunctionFit' 'Math-AutomaticDifferenciation' 'Math-KernelSmoothing' 'Math-Permutation' 'Math-KolmogorovSmirnov');
135133
group: 'Tests'
136134
with:
137-
#('Math-Tests-Clustering' 'Math-Tests-Numerical' 'Math-Tests-Complex' 'Math-Tests-Quaternion' 'Math-Tests-Random' 'Math-Tests-ODE' 'Math-Tests-KDTree' 'Math-Tests-FunctionFit' 'Math-Tests-AutomaticDifferenciation' 'Math-Tests-FastFourierTransform' 'Math-Tests-Accuracy' 'Math-Tests-ArbitraryPrecisionFloat' 'Math-Tests-KolmogorovSmirnov' 'Math-Tests-Quantile' 'Math-Tests-Polynomials' 'Math-Tests-PrincipalComponentAnalysis' 'Math-Tests-KernelSmoothing' 'Math-Tests-Number-Extensions' 'Math-Tests-Permutation' 'Math-Tests-TSNE' 'Math-Tests-Core-Process' 'Math-Tests-Core-Distribution');
135+
#('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-KolmogorovSmirnov' 'Math-Tests-Quantile' 'Math-Tests-Polynomials' 'Math-Tests-PrincipalComponentAnalysis' 'Math-Tests-KernelSmoothing' 'Math-Tests-Number-Extensions' 'Math-Tests-Permutation' 'Math-Tests-TSNE' 'Math-Tests-Core-Process' 'Math-Tests-Core-Distribution');
138136
group: 'default'
139137
with: #('Core' 'Extensions' 'Tests' 'Benchmarks' 'Accuracy') ].
140138

@@ -159,6 +157,12 @@ BaselineOfPolyMath >> projectClass [
159157
do: [ super projectClass ]
160158
]
161159

160+
{ #category : #dependencies }
161+
BaselineOfPolyMath >> randomNumbers: spec [
162+
163+
spec baseline: 'MathRandomNumbers' with: [ spec repository: 'github://PolyMathOrg/random-numbers:v1.x.x/src' ]
164+
]
165+
162166
{ #category : #dependencies }
163167
BaselineOfPolyMath >> sMark: spec [
164168

src/Math-Random/PMBernoulliGenerator.class.st

Lines changed: 0 additions & 71 deletions
This file was deleted.

src/Math-Random/PMBinomialGenerator.class.st

Lines changed: 0 additions & 51 deletions
This file was deleted.

src/Math-Random/PMCombinedRandomGenerator.class.st

Lines changed: 0 additions & 75 deletions
This file was deleted.

src/Math-Random/PMConstantGenerator.class.st

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/Math-Random/PMExplicitInverseCongruentialRandomGenerator.class.st

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)