value

fun <T : Comparable<T>, C : Ring<T>> PiecewisePolynomial<T>.value(ring: C, arg: T): T?

Return a value of polynomial function with given ring an given arg or null if argument is outside of piecewise definition.

fun Polynomial<Double>.value(): Double
fun <T : Any, C : Ring<T>> Polynomial<T>.value(ring: C, arg: T): T