Package space.kscience.kmath.functions
Types
MultivariateFunction
Link copied to clipboard
PiecewiseBuilder
Link copied to clipboard
PiecewisePolynomial
Link copied to clipboard
interface PiecewisePolynomial<T : Comparable<T>> : Piecewise<T, Polynomial<T>>
Content copied to clipboard
Polynomial
Link copied to clipboard
PolynomialSpace
Link copied to clipboard
class PolynomialSpace<T, C : Ring<T>, ScaleOperations<T>>(ring: C) : Group<Polynomial<T>> , ScaleOperations<Polynomial<T>>
Content copied to clipboard
UnivariateFunction
Link copied to clipboard
Functions
asFunction
Link copied to clipboard
fun <T : Comparable<T>, C : Ring<T>> PiecewisePolynomial<T>.asFunction(ring: C): (T) -> T?
Content copied to clipboard
fun <T : Comparable<T>, C : Ring<T>> PiecewisePolynomial<T>.asFunction(ring: C, defaultValue: T): (T) -> T
Content copied to clipboard
Convert this polynomial to a function using defaultValue for arguments outside the piecewise range.
differentiate
Link copied to clipboard
fun <T, A : Ring<T>, NumericAlgebra<T>> Polynomial<T>.differentiate(algebra: A): Polynomial<T>
Content copied to clipboard
integrate
Link copied to clipboard
fun <T, A : Field<T>, NumericAlgebra<T>> Polynomial<T>.integrate(algebra: A): Polynomial<T>
Content copied to clipboard
fun <T : Comparable<T>> Polynomial<T>.integrate(algebra: Field<T>, range: ClosedRange<T>): T
Content copied to clipboard
Compute a definite integral of a given polynomial in a range
PiecewisePolynomial
Link copied to clipboard
fun <T : Comparable<T>> PiecewisePolynomial(pieces: Collection<Pair<ClosedRange<T>, Polynomial<T>>>): PiecewisePolynomial<T>
Content copied to clipboard
fun <T : Comparable<T>> PiecewisePolynomial(startingPoint: T, builder: PiecewiseBuilder<T>.() -> Unit): PiecewisePolynomial<T>
Content copied to clipboard
A builder for PiecewisePolynomial
Polynomial
Link copied to clipboard
inline fun <T, C : Ring<T>, ScaleOperations<T>, R> C.polynomial(block: PolynomialSpace<T, C>.() -> R): R
Content copied to clipboard
value
Link copied to clipboard