• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PolyMathOrg / PolyMath / 4385132063

pending completion
4385132063

push

github

GitHub
Merge pull request #316 from jecisc/divers-cleanings

2977 of 2977 new or added lines in 214 files covered. (100.0%)

19725 of 24212 relevant lines covered (81.47%)

2.44 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Math-ODE/PMStateTime.class.st
1
"
2
A StateTime class is a generalization of point. It holds both a state and a time.
3

4
We don't want to  use Point, since state may be a vector quantity, and the behavior of array @ number is a little off (it stores points in an array, what we want is the array itself in state, and the scalar quantity in time).
5
"
6
Class {
7
        #name : #PMStateTime,
8
        #superclass : #Object,
9
        #instVars : [
10
                'state',
11
                'time'
12
        ],
13
        #category : #'Math-ODE'
14
}
15

16
{ #category : #'instance creation' }
17
PMStateTime class >> state: aState time: aTime [
×
18
        ^ self new
×
19
                state: aState;
×
20
                time: aTime
×
21
]
×
22

23
{ #category : #printing }
24
PMStateTime >> printOn: aStream [
×
25
        "used for inspector. Using the point analogy"
×
26
        state printOn: aStream.
×
27
        aStream nextPut: $@.
×
28
        time printOn: aStream
×
29
]
×
30

31
{ #category : #accessing }
32
PMStateTime >> state [
×
33
        ^ state
×
34
]
×
35

36
{ #category : #accessing }
37
PMStateTime >> state: anObject [
×
38
        state := anObject
×
39
]
×
40

41
{ #category : #accessing }
42
PMStateTime >> time [
×
43
        ^ time
×
44
]
×
45

46
{ #category : #accessing }
47
PMStateTime >> time: anObject [
×
48
        time := anObject
×
49
]
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc