PiecewisePolynomial

fun fun interface PiecewisePolynomial<T : Any> : Piecewise<T, Polynomial<T>>

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
findPiece
Link copied to clipboard
common
abstract fun findPiece(arg: T): Polynomial<T>?
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Inheritors

OrderedPiecewisePolynomial
Link copied to clipboard

Extensions

asFunction
Link copied to clipboard
common
fun <T : Comparable<T>, C : Ring<T>> PiecewisePolynomial<T>.asFunction(ring: C): (T) -> T?
value
Link copied to clipboard
common
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.