range ( seq -- x ) (original) (raw)
Vocabulary
math.statistics
Inputs
seq | a sequence |
---|
Outputs
x | a non-negative real number |
---|
Word description
Computes the difference of the maximum and minimum values in seq.
Examples
USING: math.statistics prettyprint ; { 1 2 3 } range .
2
USING: math.statistics prettyprint ; { 1 2 3 4 } range .
3
Definition