interpolatePolynomials

fun <T : Comparable<T>> PolynomialInterpolator<T>.interpolatePolynomials(data: Map<T, T>): PiecewisePolynomial<T>
fun <T : Comparable<T>> PolynomialInterpolator<T>.interpolatePolynomials(data: List<Pair<T, T>>): PiecewisePolynomial<T>