Package space.kscience.kmath.kotlingrad
Types
Link copied to clipboard
class KMathNumber<T : Number, A : NumericAlgebra<T>>(algebra: A, value: T) : SConst<KMathNumber<T, A>>
Content copied to clipboard
Implements SConst by delegating its functionality to NumericAlgebra.
Link copied to clipboard
class KotlingradExpression<T : Number, A : NumericAlgebra<T>>(algebra: A, mst: MST) : SpecialDifferentiableExpression<T, KotlingradExpression<T, A>>
Content copied to clipboard
Represents MST based DifferentiableExpression relying on Kotlin∇.
Link copied to clipboard
class KotlingradProcessor<T : Number, A : NumericAlgebra<T>>(algebra: A) : AutoDiffProcessor<T, MST, MstExtendedField>
Content copied to clipboard
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>
Content copied to clipboard
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.