OpenMusic Reference
list-min

list-min
(arithmetic module) -- returns the smallest value in a tree
Syntax
list-min self
Inputs
| name | data type(s) | comments |
|---|---|---|
| self | a tree |
Output
| output | data type(s) | comments |
|---|---|---|
| first | a number | returns the smallest value in the list or tree |
Description
This function returns the smallest value in the list. Nesting is ignored.
Examples
Taking the minimum value of a list

Processing this list will return 1.
| Prev | Home | Next |
|---|---|---|
| list-max | Up | list-modulo |