Package space.kscience.kmath.expressions
Types
AutoDiffProcessor
Link copied to clipboard
A factory that converts an expression in autodiff variables to a DifferentiableExpression
AutoDiffValue
Link copied to clipboard
DerivationResult
Link copied to clipboard
DifferentiableExpression
Link copied to clipboard
Expression
Link copied to clipboard
ExpressionAlgebra
Link copied to clipboard
FirstDerivativeExpression
Link copied to clipboard
abstract class FirstDerivativeExpression<T> : DifferentiableExpression<T>
Content copied to clipboard
A DifferentiableExpression that defines only first derivatives
FunctionalExpressionAlgebra
Link copied to clipboard
abstract class FunctionalExpressionAlgebra<T, out A : Algebra<T>>(algebra: A) : ExpressionAlgebra<T, Expression<T>>
Content copied to clipboard
A context class for Expression construction.
FunctionalExpressionExtendedField
Link copied to clipboard
open class FunctionalExpressionExtendedField<T, out A : ExtendedField<T>>(algebra: A) : FunctionalExpressionField<T, A> , ExtendedField<Expression<T>>
Content copied to clipboard
FunctionalExpressionField
Link copied to clipboard
open class FunctionalExpressionField<T, out A : Field<T>>(algebra: A) : FunctionalExpressionRing<T, A> , Field<Expression<T>> , ScaleOperations<Expression<T>>
Content copied to clipboard
FunctionalExpressionGroup
Link copied to clipboard
open class FunctionalExpressionGroup<T, out A : Group<T>>(algebra: A) : FunctionalExpressionAlgebra<T, A> , Group<Expression<T>>
Content copied to clipboard
FunctionalExpressionRing
Link copied to clipboard
open class FunctionalExpressionRing<T, out A : Ring<T>>(algebra: A) : FunctionalExpressionGroup<T, A> , Ring<Expression<T>>
Content copied to clipboard
MstExtendedField
Link copied to clipboard
MstField
Link copied to clipboard
object MstField : Field<MST> , NumbersAddOperations<MST> , ScaleOperations<MST>
Content copied to clipboard
MstGroup
Link copied to clipboard
object MstGroup : Group<MST> , NumericAlgebra<MST> , ScaleOperations<MST>
Content copied to clipboard
MstLogicAlgebra
Link copied to clipboard
MstNumericAlgebra
Link copied to clipboard
MstRing
Link copied to clipboard
object MstRing : Ring<MST> , NumbersAddOperations<MST> , ScaleOperations<MST>
Content copied to clipboard
SimpleAutoDiffExpression
Link copied to clipboard
class SimpleAutoDiffExpression<T : Any, F : Field<T>>(field: F, function: SimpleAutoDiffField<T, F>.() -> AutoDiffValue<T>) : FirstDerivativeExpression<T>
Content copied to clipboard
SimpleAutoDiffExtendedField
Link copied to clipboard
class SimpleAutoDiffExtendedField<T : Any, F : ExtendedField<T>>(context: F, bindings: Map<Symbol, T>) : SimpleAutoDiffField<T, F> , ExtendedField<AutoDiffValue<T>> , ScaleOperations<AutoDiffValue<T>>
Content copied to clipboard
SimpleAutoDiffField
Link copied to clipboard
open class SimpleAutoDiffField<T : Any, F : Field<T>>(context: F, bindings: Map<Symbol, T>) : Field<AutoDiffValue<T>> , ExpressionAlgebra<T, AutoDiffValue<T>> , NumbersAddOperations<AutoDiffValue<T>>
Content copied to clipboard
SimpleSymbolIndexer
Link copied to clipboard
SpecialDifferentiableExpression
Link copied to clipboard
interface SpecialDifferentiableExpression<T, out R : Expression<T>> : DifferentiableExpression<T>
Content copied to clipboard
A special type of DifferentiableExpression which returns typed expressions as derivatives.
SymbolIndexer
Link copied to clipboard
Functions
acos
Link copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.acos(x: AutoDiffValue<T>): AutoDiffValue<T>
Content copied to clipboard
acosh
Link copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.acosh(x: AutoDiffValue<T>): AutoDiffValue<T>
Content copied to clipboard
asin
Link copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.asin(x: AutoDiffValue<T>): AutoDiffValue<T>
Content copied to clipboard
asinh
Link copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.asinh(x: AutoDiffValue<T>): AutoDiffValue<T>
Content copied to clipboard
atan
Link copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.atan(x: AutoDiffValue<T>): AutoDiffValue<T>
Content copied to clipboard
atanh
Link copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.atanh(x: AutoDiffValue<T>): AutoDiffValue<T>
Content copied to clipboard
chiSquaredExpression
Link copied to clipboard
fun <T : Comparable<T>, I : Any, A : ExtendedField<I>, ExpressionAlgebra<T, I>> AutoDiffProcessor<T, I, A>.chiSquaredExpression(x: Buffer<T>, y: Buffer<T>, yErr: Buffer<T>, model: A.(I) -> I): DifferentiableExpression<T>
Content copied to clipboard
fun <I : Any, A : ExtendedField<I>, ExpressionAlgebra<Double, I>> AutoDiffProcessor<Double, I, A>.chiSquaredExpression(x: Buffer<Double>, y: Buffer<Double>, yErr: Buffer<Double>, model: A.(I) -> I): DifferentiableExpression<Double>
Content copied to clipboard
cos
Link copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.cos(x: AutoDiffValue<T>): AutoDiffValue<T>
Content copied to clipboard
cosh
Link copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.cosh(x: AutoDiffValue<T>): AutoDiffValue<T>
Content copied to clipboard
derivative
Link copied to clipboard
fun <T> DifferentiableExpression<T>.derivative(vararg symbols: Symbol): Expression<T>
Content copied to clipboard
fun <T> DifferentiableExpression<T>.derivative(name: String): Expression<T>
Content copied to clipboard
fun <T> DifferentiableExpression<T>.derivative(symbols: List<Symbol>): Expression<T>
Content copied to clipboard
fun <T, R : Expression<T>> SpecialDifferentiableExpression<T, R>.derivative(vararg symbols: Symbol): R
Content copied to clipboard
fun <T, R : Expression<T>> SpecialDifferentiableExpression<T, R>.derivative(name: String): R
Content copied to clipboard
fun <T, R : Expression<T>> SpecialDifferentiableExpression<T, R>.derivative(symbols: List<Symbol>): R
Content copied to clipboard
exp
Link copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.exp(x: AutoDiffValue<T>): AutoDiffValue<T>
Content copied to clipboard
expression
Link copied to clipboard
inline fun DoubleField.expression(block: FunctionalExpressionExtendedField<Double, DoubleField>.() -> Expression<Double>): Expression<Double>
Content copied to clipboard
expressionInExtendedField
Link copied to clipboard
inline fun <T, A : ExtendedField<T>> A.expressionInExtendedField(block: FunctionalExpressionExtendedField<T, A>.() -> Expression<T>): Expression<T>
Content copied to clipboard
expressionInField
Link copied to clipboard
inline fun <T, A : Field<T>> A.expressionInField(block: FunctionalExpressionField<T, A>.() -> Expression<T>): Expression<T>
Content copied to clipboard
expressionInGroup
Link copied to clipboard
inline fun <T, A : Group<T>> A.expressionInGroup(block: FunctionalExpressionGroup<T, A>.() -> Expression<T>): Expression<T>
Content copied to clipboard
expressionInRing
Link copied to clipboard
inline fun <T, A : Ring<T>> A.expressionInRing(block: FunctionalExpressionRing<T, A>.() -> Expression<T>): Expression<T>
Content copied to clipboard
interpret
Link copied to clipboard
invoke
Link copied to clipboard
ln
Link copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.ln(x: AutoDiffValue<T>): AutoDiffValue<T>
Content copied to clipboard
pow
Link copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.pow(x: AutoDiffValue<T>, y: Double): AutoDiffValue<T>
Content copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.pow(x: AutoDiffValue<T>, y: Int): AutoDiffValue<T>
Content copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.pow(x: AutoDiffValue<T>, y: AutoDiffValue<T>): AutoDiffValue<T>
Content copied to clipboard
set
Link copied to clipboard
simpleAutoDiff
Link copied to clipboard
fun <T : Any, F : Field<T>> simpleAutoDiff(field: F): AutoDiffProcessor<T, AutoDiffValue<T>, SimpleAutoDiffField<T, F>>
Content copied to clipboard
fun <T : Any, F : Field<T>> F.simpleAutoDiff(vararg bindings: Pair<Symbol, T>, body: SimpleAutoDiffField<T, F>.() -> AutoDiffValue<T>): DerivationResult<T>
Content copied to clipboard
fun <T : Any, F : Field<T>> F.simpleAutoDiff(bindings: Map<Symbol, T>, body: SimpleAutoDiffField<T, F>.() -> AutoDiffValue<T>): DerivationResult<T>
Content copied to clipboard
Runs differentiation and establishes SimpleAutoDiffField context inside the block of code.
sin
Link copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.sin(x: AutoDiffValue<T>): AutoDiffValue<T>
Content copied to clipboard
sinh
Link copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.sinh(x: AutoDiffValue<T>): AutoDiffValue<T>
Content copied to clipboard
sqr
Link copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.sqr(x: AutoDiffValue<T>): AutoDiffValue<T>
Content copied to clipboard
sqrt
Link copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.sqrt(x: AutoDiffValue<T>): AutoDiffValue<T>
Content copied to clipboard
tan
Link copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.tan(x: AutoDiffValue<T>): AutoDiffValue<T>
Content copied to clipboard
tanh
Link copied to clipboard
fun <T : Any, F : ExtendedField<T>> SimpleAutoDiffField<T, F>.tanh(x: AutoDiffValue<T>): AutoDiffValue<T>
Content copied to clipboard
toExpression
Link copied to clipboard
withSymbols
Link copied to clipboard
inline fun <R> withSymbols(vararg symbols: Symbol, block: SymbolIndexer.() -> R): R
Content copied to clipboard
inline fun <R> withSymbols(symbols: Collection<Symbol>, block: SymbolIndexer.() -> R): R
Content copied to clipboard
Properties
binding
Link copied to clipboard
Bind a symbol by name inside the ExpressionAlgebra
symbol
Link copied to clipboard