AutoDiffProcessor

fun fun interface AutoDiffProcessor<T, I, out A : Algebra<I>>

A factory that converts an expression in autodiff variables to a DifferentiableExpression

Parameters

T

type of the constants for the expression

I

type of the actual expression state

A

type of expression algebra

Functions

differentiate
Link copied to clipboard
common
abstract fun differentiate(function: A.() -> I): DifferentiableExpression<T>

Extensions

chiSquaredExpression
Link copied to clipboard
common
@JvmName(name = genericChiSquaredExpression)
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>
Generate a chi squared expression from given x-y-sigma data and inline model.

Sources

common source
Link copied to clipboard