Package-level declarations
Types
Link copied to clipboard
class KMathNumber<T : Number, A : NumericAlgebra<T>>(val algebra: A, val value: T) : SConst<KMathNumber<T, A>>
Implements SConst by delegating its functionality to NumericAlgebra.
Link copied to clipboard
class KotlingradExpression<T : Number, A : NumericAlgebra<T>>(val algebra: A, val mst: MST) : SpecialDifferentiableExpression<T, KotlingradExpression<T, A>>
Represents MST based DifferentiableExpression relying on Kotlin∇.
Link copied to clipboard
class KotlingradProcessor<T : Number, A : NumericAlgebra<T>>(val algebra: A) : AutoDiffProcessor<T, MST, MstExtendedField>
A diff processor using MST to Kotlingrad converter
Functions
Link copied to clipboard
fun <T : Number, A : NumericAlgebra<T>> MST.toKotlingradExpression(algebra: A): KotlingradExpression<T, A>
Wraps this MST into KotlingradExpression in the context of algebra.
Link copied to clipboard
Maps SVar to MST.Numeric directly.
Maps SFun objects to MST. Some unsupported operations like Derivative are bound and converted then. Power operation is limited to constant right-hand side arguments.
Maps SVar to Symbol directly.
Link copied to clipboard
Maps MST.Numeric to SConst directly.