core / com.acmerobotics.roadrunner.util / MathUtil

MathUtil

object MathUtil (source)

Various math utilities.

Functions

solveQuadratic

Returns the real solutions to the quadratic ax^2 + bx + c.

fun solveQuadratic(a: Double, b: Double, c: Double): List<Double>