math.bound
Syntax
- n := math.bound(nlower,nval,nupper)
Get a bounded value.
Returns the number nval constrained to fall between nlower and nupper (inclusive). If nval is less than nlower the return value is nlower. If nval is greater than nupper the return value is nupper.
If the values are vectors, then the operation is performed on each component of the vectors separately.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Dec 14, 2024 |