warp.lerp#

warp.lerp(a: Float, b: Float, t: Float) Float#
  • Kernel

  • Differentiable

Linearly interpolate two values a and b using factor t, computed as a*(1-t) + b*t

warp.lerp(
a: Vector[Any, Float],
b: Vector[Any, Float],
t: Float,
) Vector[Any, Float]
  • Kernel

  • Differentiable

Linearly interpolate two values a and b using factor t, computed as a*(1-t) + b*t

warp.lerp(
a: Matrix[Any, Any, Float],
b: Matrix[Any, Any, Float],
t: Float,
) Matrix[Any, Any, Float]
  • Kernel

  • Differentiable

Linearly interpolate two values a and b using factor t, computed as a*(1-t) + b*t

warp.lerp(
a: Quaternion[Float],
b: Quaternion[Float],
t: Float,
) Quaternion[Float]
  • Kernel

  • Differentiable

Linearly interpolate two values a and b using factor t, computed as a*(1-t) + b*t

warp.lerp(
a: Transformation[Float],
b: Transformation[Float],
t: Float,
) Transformation[Float]
  • Kernel

  • Differentiable

Linearly interpolate two values a and b using factor t, computed as a*(1-t) + b*t