Constrained random points on a circle: Difference between revisions
Constrained random points on a circle (view source)
Revision as of 19:43, 18 June 2014
, 10 years ago→{{header|REXX}}: corrected an operator in the heading
Walterpachl (talk | contribs) m (→with aspect adjustment: typo) |
Walterpachl (talk | contribs) m (→{{header|REXX}}: corrected an operator in the heading) |
||
Line 1,892:
===without aspect adjustment===
No aspect adjustment is done in version of the REXX program.
<lang rexx>/*REXX program gens 100 random points in an annulus: 10 ≤ √(x²
parse arg points low high . /*allow parms from command line. */
if points=='' then points=100
Line 1,955:
===with aspect adjustment===
Aspect adjustment is done in this version of the REXX program.
<lang rexx>/*REXX program gens 100 random points in an annulus: 10 ≤ √(x²
parse arg points low high . /*allow parms from command line. */
if points=='' then points=100
|