MCPcopy Create free account
hub / github.com/MarcusRainbow/QuantMath / lerp

Function lerp

src/math/interpolation.rs:103–105  ·  view source on GitHub ↗

Low-level linear interpolation function. Guaranteed to exactly equal the end points y0 and y1 when the fraction t is equal to 0 and 1 respectively.

(y0: f64, y1: f64, t: f64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

interpolateMethod · 0.85
linear_interpolateFunction · 0.85
test_lerpFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_lerpFunction · 0.68