public class GaussianMultiDLM extends Object implements FitFunction
This fitting target function is defined over dimension n
, by the following
2n+1
parameters:
k = 0 - A k = 1..n - x₀ᵢ (with i = k-1) k = n+1..2n - bᵢ (with i = k-n-1)with
f(x) = A × exp( - S )and
S = ∑ bᵢ × (xᵢ - x₀ᵢ)²
Constructor and Description |
---|
GaussianMultiDLM() |
Modifier and Type | Method and Description |
---|---|
double |
grad(double[] x,
double[] a,
int k)
Partial derivatives indices are ordered as follow:
|
double |
hessian(double[] x,
double[] a,
int r,
int c)
Not used but hey.
|
double |
val(double[] x,
double[] a)
Evaluate this function at point
x . |
public final double val(double[] x, double[] a)
FitFunction
x
. The function is
otherwise defined over an array of parameters a
, that
is the target of the fitting procedure.val
in interface FitFunction
x
- the multidimensional to evaluate the fonction ata
- the set of parameters that defines the functionx
public final double grad(double[] x, double[] a, int k)
k = 0 - A k = 1..n - x_i (with i = k-1) k = n+1..2n - b_i (with i = k-n-1)
grad
in interface FitFunction
x
- the point to evaluate the gradient ata
- the set of parameters that defines the functionk
- the index of the parameter to compute the gradientdf(x,a)/da_k
FitFunction.val(double[], double[])
public final double hessian(double[] x, double[] a, int r, int c)
Copyright © 2015–2021 Fiji. All rights reserved.