XYFit

interface XYFit<T : Any> : Optimization<T>

Functions

data
Link copied to clipboard
common
abstract fun data(dataSet: ColumnarData<T>, xSymbol: Symbol, ySymbol: Symbol, xErrSymbol: Symbol? = null, yErrSymbol: Symbol? = null)
Set X-Y data for this fit optionally including x and y errors
model
Link copied to clipboard
common
abstract fun model(model: (T) -> DifferentiableExpression<T, *>)
open fun <I : Any, A : ExtendedField<I>, ExpressionAlgebra<T, I>> model(autoDiff: AutoDiffProcessor<T, I, A, Expression<T>>, modelFunction: A.(I) -> I)
Set the differentiable model for this fit
optimize
Link copied to clipboard
common
abstract fun optimize(): OptimizationResult<T>
Make an optimization run
update
Link copied to clipboard
common
abstract fun update(result: OptimizationResult<T>)
Update the problem from previous optimization run

Properties

algebra
Link copied to clipboard
common
abstract val algebra: Field<T>