Skip to content

Commit 24f2e98

Browse files
committed
Extract vector from Core
1 parent 674fab7 commit 24f2e98

14 files changed

+20
-357
lines changed

src/BaselineOfPolyMathDataStructures/BaselineOfPolyMathDataStructures.class.st

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ Class {
66

77
{ #category : #baselines }
88
BaselineOfPolyMathDataStructures >> baseline: spec [
9+
910
<baseline>
10-
spec for: #common do: [
11-
"External dependencies"
12-
13-
"Packages"
14-
spec
15-
package: 'Math-Core';
16-
package: 'Math-Matrix' with: [ spec requires: #('Math-Core') ];
17-
package: 'Math-Tests-Core' with: [ spec requires: #('Math-Core') ];
18-
package: 'Math-Tests-Matrix' with: [ spec requires: #('Math-Matrix') ] ].
11+
spec for: #common do: [ "Packages"
12+
spec
13+
package: 'Math-Vector';
14+
package: 'Math-Matrix' with: [ spec requires: #( 'Math-Vector' ) ];
15+
package: 'Math-Tests-Vector' with: [ spec requires: #( 'Math-Vector' ) ];
16+
package: 'Math-Tests-Matrix' with: [ spec requires: #( 'Math-Matrix' ) ].
17+
18+
spec
19+
group: 'Core' with: #( 'Math-Vector' 'Math-Matrix' );
20+
group: 'Tests' with: #( 'Math-Tests-Vector' 'Math-Tests-Matrix' ) ]
1921
]

src/Math-Core/ManifestMathCore.class.st

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

src/Math-Core/PMFloatingPointMachine.class.st

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

src/Math-Core/PMWeightedPoint.class.st

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

src/Math-Core/SequenceableCollection.extension.st

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

src/Math-Core/package.st

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/Math-Tests-Core/package.st

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/Math-Tests-Core/PMVectorTest.class.st renamed to src/Math-Tests-Vector/PMVectorTest.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Class {
22
#name : #PMVectorTest,
33
#superclass : #TestCase,
4-
#category : #'Math-Tests-Core'
4+
#category : #'Math-Tests-Vector'
55
}
66

77
{ #category : #tests }

src/Math-Tests-Vector/package.st

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Package { #name : #'Math-Tests-Vector' }

src/Math-Core/ArrayedCollection.extension.st renamed to src/Math-Vector/ArrayedCollection.extension.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Extension { #name : #ArrayedCollection }
22

3-
{ #category : #'*Math-Core' }
3+
{ #category : #'*Math-Vector' }
44
ArrayedCollection >> addWithVector: aVector [
55
"Answers the sum of the receiver with aVector."
66
| answer n |

0 commit comments

Comments
 (0)