Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

list-interpolate interpolates a list.

Parameter Description
lst List used as reference
x0 Value to be interpolated (0-1)

Example

Example 1: Show some interpolation results

> (list-interpolate '(0 2 4 6 8 10) 0.7)
7.
> (list-interpolate '(0 1 2 3 4) 0.3)
1.2
Clone this wiki locally