powered by
Finds a linear function between two points
linterp(x1, y1, x2, y2)
x value of the first point
y value of the first point
x value of the second point
y value of the second point
a linear equation's coefficients
linterp finds a linear function between two points.
linterp
Other interp: bezier, bilinear(), cubicspline(), nn(), polyinterp(), pwiselinterp()
bezier
bilinear()
cubicspline()
nn()
polyinterp()
pwiselinterp()
Other algebra: bilinear(), cubicspline(), division, fibonacci(), horner(), isPrime(), nthroot(), polyinterp(), pwiselinterp(), quadratic()
division
fibonacci()
horner()
isPrime()
nthroot()
quadratic()
# NOT RUN { f <- linterp(3, 2, 7, -2) # }
Run the code above in your browser using DataLab