LerpPolynomialExtension<T> extension

on

Methods

lerp(Polynomial<T> other, num t, {DataType<T>? dataType, PolynomialFormat? format}) Polynomial<T>
Interpolates linearly between this Polynomial and other with a factor of t. If t is equal to 0 the result is this, if t is equal to 1 the result is other.
lerpEq(Polynomial<T> other, num t) Polynomial<T>
In-place interpolates linearly between this Polynomial and other.