Click or drag to resize

UnaryFunctionsConstant Method

Creates a constant function f(x) = a.

Namespace: Altaxo.Calc.RootFinding
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public static Func<double, double> Constant(
	double a
)

Parameters

a  Double
The constant value to return.

Return Value

FuncDouble, Double
A function that always returns a.
See Also