Help Contents / Arithmetic / Numeric Operations / saturateBelow

saturateBelow limit in

outputs a new FloatArray, IntArray or Int16Array, depending on the type of the input, of the saturated FloatArray, IntArray or Int16Array in. Every item of in is checked if it goes above below limit. If it does, the limit is output. 

Example: 

	saturateBelow 50 rseqFA 1 100 10 
	;{50 50 50 50 50 56 67 78 89 100}  ;-) 


previous: saturateAbove	next: cross
