chickadee » hypergiant » vclamp

vclamp VECTOR LOWER UPPER #!optional NON-GC?procedure
vclamp! VECTOR LOWER UPPERprocedure

Return a point with each element of VECTOR clamped to LOWER and UPPER. vclamp! destructively modifies the original vector. If NON-GC? is #t, the point is created in a non-garbage-collected area (the memory will still be freed when there are no more references to the vector).