OverviewClamps PackagesCM DictionaryClamps DictionaryFomus

interp

Function

(interp x ...)

Returns a linear interpolated y value for x in the sequence of x y coordinate pairs.

Examples

cm> (interp 75 0 0 50 .5 100 0)
.25
cm>

See Also