Click or drag to resize

GompertzTransitionEvaluate(Double, Double, Double, ReadOnlySpanDouble, ReadOnlySpanDouble) Method

This function produces a continuous transition with the Gompertz function, from a left to a right polynomial, centered at xc, with the width of the transition determined by r.

Namespace: Altaxo.Calc.FitFunctions.Transitions
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public static double Evaluate(
	double x,
	double xc,
	double r,
	ReadOnlySpan<double> coeffs_left,
	ReadOnlySpan<double> coeffs_right
)

Parameters

x  Double
The input value at which to evaluate the function.
xc  Double
The center point of the transition, where the function value is halfway between the starting and ending values.
r  Double
The growth rate that controls the width of the transition region. Should be positive.
coeffs_left  ReadOnlySpanDouble
The coefficients of the polynomial for the left segment (before the transition).
coeffs_right  ReadOnlySpanDouble
The coefficients of the polynomial for the right segment (after the transition).

Return Value

Double
The value of the smoothed step function at the specified input value.
Remarks
The Gompertz function is commonly used for modeling tumor growth rates, and mortality and survival analysis.
See Also