Package space.kscience.kmath.commons.optimization

Types

CMOptimizationProblem
Link copied to clipboard
class CMOptimizationProblem(symbols: List<Symbol>) : OptimizationProblem<Double> , SymbolIndexer, OptimizationFeature

Functions

chiSquared
Link copied to clipboard
fun Fitting.chiSquared(x: Iterable<Double>, y: Iterable<Double>, yErr: Iterable<Double>, model: DerivativeStructureField.(x: DerivativeStructure) -> DerivativeStructure): DifferentiableExpression<Double, Expression<Double>>
Generate a chi squared expression from given x-y-sigma data and inline model.
fun Fitting.chiSquared(x: Buffer<Double>, y: Buffer<Double>, yErr: Buffer<Double>, model: DerivativeStructureField.(x: DerivativeStructure) -> DerivativeStructure): DifferentiableExpression<Double, Expression<Double>>
Generate a chi squared expression from given x-y-sigma data and inline model.
component1
Link copied to clipboard
operator fun PointValuePair.component1(): DoubleArray
component2
Link copied to clipboard
operator fun PointValuePair.component2(): Double
initialGuess
Link copied to clipboard
fun CMOptimizationProblem.initialGuess(vararg pairs: Pair<Symbol, Double>)
minimize
Link copied to clipboard
fun DifferentiableExpression<Double, Expression<Double>>.minimize(vararg startPoint: Pair<Symbol, Double>, configuration: CMOptimizationProblem.() -> Unit = {}): OptimizationResult<Double>
optimize
Link copied to clipboard
fun DifferentiableExpression<Double, Expression<Double>>.optimize(vararg symbols: Symbol, configuration: CMOptimizationProblem.() -> Unit): OptimizationResult<Double>
Optimize differentiable expression
fun Expression<Double>.optimize(vararg symbols: Symbol, configuration: CMOptimizationProblem.() -> Unit): OptimizationResult<Double>
Optimize expression without derivatives
simplexSteps
Link copied to clipboard
fun CMOptimizationProblem.simplexSteps(vararg pairs: Pair<Symbol, Double>)