PiecewisePolynomial

@PerformancePitfall(message = "findPiece method of resulting piecewise is slow")
fun <T : Comparable<T>> PiecewisePolynomial(pieces: Collection<Pair<ClosedRange<T>, Polynomial<T>>>): PiecewisePolynomial<T>(source)

A generic piecewise without constraints on how pieces are placed


fun <T : Comparable<T>> PiecewisePolynomial(startingPoint: T, builder: PiecewiseBuilder<T>.() -> Unit): PiecewisePolynomial<T>(source)

A builder for PiecewisePolynomial