Package space.kscience.kmath.kotlingrad

Types

DifferentiableMstExpression
Link copied to clipboard
inline class DifferentiableMstExpression<T : Number, A : NumericAlgebra<T>>(expr: MstExpression<T, A>) : DifferentiableExpression<T, MstExpression<T, A>>
Represents wrapper of MstExpression implementing DifferentiableExpression.
KMathNumber
Link copied to clipboard
class KMathNumber<T : Number, A : NumericAlgebra<T>>(algebra: A, value: T) : RealNumber<KMathNumber<T, A>, T>
Implements RealNumber by delegating its functionality to NumericAlgebra.

Functions

differentiable
Link copied to clipboard
fun <T : Number, A : NumericAlgebra<T>> MstExpression<T, A>.differentiable(): DifferentiableMstExpression<T, A>
Wraps this MstExpression into DifferentiableMstExpression.
toMst
Link copied to clipboard
fun <X : SFun<X>> SConst<X>.toMst(): MST.Numeric
Maps SVar to MST.Numeric directly.
fun <X : SFun<X>> SFun<X>.toMst(): MST
Maps SFun objects to MST.
fun <X : SFun<X>> SVar<X>.toMst(): MST.Symbolic
Maps SVar to MST.Symbolic directly.
toSConst
Link copied to clipboard
fun <X : SFun<X>> MST.Numeric.toSConst(): SConst<X>
Maps MST.Numeric to SConst directly.
toSFun
Link copied to clipboard
fun <X : SFun<X>> MST.toSFun(): SFun<X>
Maps MST objects to SFun.