core / com.acmerobotics.roadrunner.path / NthDegreePolynomial / <init>

<init>

NthDegreePolynomial(start: List<Double>, end: List<Double>)

Nth-degree polynomial interpolated according to the provided derivatives. Note that this implementation is less performant than QuinticPolynomial as it uses general matrix operations for derivative computations.

Parameters

start - start derivatives starting with the 0th derivative

end - end derivatives starting with the 0th derivative