Piecewise

fun fun interface Piecewise<in T, out R>

Represents piecewise-defined function.

Parameters

T

the piece key type.

R

the sub-function type.

Functions

findPiece
Link copied to clipboard
abstract fun findPiece(arg: T): R?
Returns the appropriate sub-function for given piece key.

Inheritors

PiecewisePolynomial
Link copied to clipboard

Sources

common source
Link copied to clipboard