Nonlinear Curve.From Function Method
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
Overload List
From | Creates a nonlinear curve from a function with one parameter. |
From | Creates a nonlinear curve from a function with two parameters. |
From | Creates a nonlinear curve from a function with three parameters. |
From | Creates a nonlinear curve from a function with four parameters. |
From | Creates a nonlinear curve from a function with five parameters. |
FromFunction(Func<Double, Double, Double>, Double[])
Creates a nonlinear curve from a function with one parameter.
public static NonlinearCurve FromFunction(
Func<double, double, double> function,
params double[] parameters
)
Parameters
- function Func<Double, Double, Double>
- The function that defines the curve. The first argument is the parameter, and the second argument is the x-value.
- parameters Double[]
- Optional. The initial values of the parameter.
Return Value
NonlinearCurveA NonlinearCurve object that represents the curve defined by function.
FromFunction(Func<Double, Double, Double, Double>, Double[])
Creates a nonlinear curve from a function with two parameters.
public static NonlinearCurve FromFunction(
Func<double, double, double, double> function,
params double[] parameters
)
Parameters
- function Func<Double, Double, Double, Double>
- The function that defines the curve. The first two arguments are the parameters, and the third argument is the x-value.
- parameters Double[]
- The initial values of the parameters.
Return Value
NonlinearCurveA NonlinearCurve object that represents the curve defined by function.
FromFunction(Func<Double, Double, Double, Double, Double>, Double[])
Creates a nonlinear curve from a function with three parameters.
public static NonlinearCurve FromFunction(
Func<double, double, double, double, double> function,
params double[] parameters
)
Parameters
- function Func<Double, Double, Double, Double, Double>
- The function that defines the curve. The first three arguments are the parameters, and the fourth argument is the x-value.
- parameters Double[]
- The initial values of the parameters.
Return Value
NonlinearCurveA NonlinearCurve object that represents the curve defined by function.
FromFunction(Func<Double, Double, Double, Double, Double, Double>, Double[])
Creates a nonlinear curve from a function with four parameters.
public static NonlinearCurve FromFunction(
Func<double, double, double, double, double, double> function,
params double[] parameters
)
Parameters
- function Func<Double, Double, Double, Double, Double, Double>
- The function that defines the curve. The first four arguments are the parameters, and the fifth argument is the x-value.
- parameters Double[]
- The initial values of the parameters.
Return Value
NonlinearCurveA NonlinearCurve object that represents the curve defined by function.
FromFunction(Func<Double, Double, Double, Double, Double, Double, Double>, Double[])
Creates a nonlinear curve from a function with five parameters.
public static NonlinearCurve FromFunction(
Func<double, double, double, double, double, double, double> function,
params double[] parameters
)
Parameters
- function Func<Double, Double, Double, Double, Double, Double, Double>
- The function that defines the curve. The first five arguments are the parameters, and the sixth argument is the x-value.
- parameters Double[]
- The initial values of the parameters.
Return Value
NonlinearCurveA NonlinearCurve object that represents the curve defined by function.