forked from PolyMathOrg/PolyMath
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBaselineOfPolyMath.class.st
More file actions
245 lines (220 loc) · 8.58 KB
/
BaselineOfPolyMath.class.st
File metadata and controls
245 lines (220 loc) · 8.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
"
PolyMath is a Smalltalk project, similar to existing scientific libraries like NumPy, SciPy for Python or SciRuby for Ruby. PolyMath already provide the following basic functionalities:
complex and quaternions extensions,
random number generators,
fuzzy algorithms,
KDE-trees,
Didier Besset's numerical methods,
Ordinary Differential Equation (ODE) solvers.
"
Class {
#name : 'BaselineOfPolyMath',
#superclass : 'BaselineOf',
#category : 'BaselineOfPolyMath',
#package : 'BaselineOfPolyMath'
}
{ #category : 'baselines' }
BaselineOfPolyMath >> baseline: spec [
<baseline>
spec for: #common do: [ "External dependencies"
self
sMark: spec;
xmlWriter: spec;
vectorMatrix: spec;
randomNumbers: spec;
datasets: spec;
roassal: spec;
dataFrameInspector: spec.
self
packages: spec;
groups: spec ].
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' ) ];
package: 'Math-Tests-KDTree' with: [ spec requires: #( 'Math-CompatibilityUpToPharo11' ) ];
package: 'Math-CompatibilityUpToPharo11' ]
]
{ #category : 'dependencies' }
BaselineOfPolyMath >> dataFrameInspector: spec [
spec
baseline: 'AIDataFrameInspector'
with: [ spec repository: 'github://pharo-ai/data-inspector/src' ]
]
{ #category : 'dependencies' }
BaselineOfPolyMath >> datasets: spec [
spec
baseline: 'AIDatasets'
with: [ spec repository: 'github://pharo-ai/datasets' ].
]
{ #category : 'baselines' }
BaselineOfPolyMath >> groups: spec [
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' 'MathVectorMatrix' '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: 'visualizations'
with:
#( 'Core' 'Extensions' 'Tests' 'Benchmarks' 'Accuracy' 'Math-Visualizations' );
group: 'default'
with: #( 'Core' 'Extensions' 'Tests' 'Benchmarks' 'Accuracy' )
]
{ #category : 'baselines' }
BaselineOfPolyMath >> packages: 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' '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: #( '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:
#( 'MathVectorMatrix' 'Math-Quantile' 'Math-Core-Process' ) ];
package: 'Math-Core-Process';
package: 'Math-Numerical' with: [
spec requires:
#( 'MathVectorMatrix' 'Math-Core-Process' 'Math-Distributions'
'Math-StatisticalMoments' 'Math-Series' ) ];
package: 'Math-Polynomials' with: [
spec requires:
#( 'MathVectorMatrix' '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'
'MathVectorMatrix' 'Math-Helpers' 'Math-Polynomials' ) ];
package: 'Math-KDTree';
package: 'Math-Number-Extensions';
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' 'MathVectorMatrix' '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'
'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' ) ];
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';
package: 'Math-Visualizations'
with: [ spec requires: #( 'AIDatasets' 'AIDataFrameInspector') ]
]
{ #category : 'accessing' }
BaselineOfPolyMath >> projectClass [
^ [ self class environment at: #MetacelloCypressBaselineProject ]
on: NotFound
do: [ super projectClass ]
]
{ #category : 'dependencies' }
BaselineOfPolyMath >> randomNumbers: spec [
spec baseline: 'MathRandomNumbers' with: [ spec repository: 'github://PolyMathOrg/random-numbers:v1.x.x/src' ]
]
{ #category : 'dependencies' }
BaselineOfPolyMath >> roassal: spec [
spec
baseline: 'Roassal'
with: [ spec repository: 'github://pharo-graphics/Roassal' ].
]
{ #category : 'dependencies' }
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/src' ]
]
{ #category : 'dependencies' }
BaselineOfPolyMath >> xmlWriter: spec [
spec baseline: 'XMLWriter' with: [ spec repository: 'github://pharo-contributions/XML-XMLWriter:2.9.x/src' ]
]