You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Answers a random number with abs between 0 and 1."
23
+
24
+
^selfabs:1.0 random arg:2*Float pi random
25
+
]
26
+
20
27
{ #category : #'*Math-Complex' }
21
28
PMComplex>> random [
22
29
"analog to Number>>random. However, the only bound is that the abs of the produced complex is less than the length of the receive. The receiver effectively defines a disc within which the random element can be produced."
23
30
^selfclass random *self
24
31
25
32
]
26
33
27
-
{ #category : #'*Math-Complex' }
28
-
PMComplex classSide >> random [
29
-
"Answers a random number with abs between 0 and 1."
0 commit comments