[]
Calculates the value of the function at the specified parameter value.
protected double CalcFunction(double x, ISimpleFunction user, object compiled, CalculateFunctionEventHandler evh)
Type | Name | Description |
---|---|---|
double | x | The X coordinate. |
ISimpleFunction | user | Provides an interface for defining a simple one-variable function of the form y(x) = f(x). |
object | compiled | The object for calculation. |
CalculateFunctionEventHandler | evh | The CalculateFunctionEventHandler which stores event arguments. |
Type | Description |
---|---|
double | The calculated value of the function. |
Calculates the value of the function at the specified parameter value.
protected double[] CalcFunction(double[] x, ISimpleFunction user, object compiled, CalculateFunctionEventHandler evh)
Type | Name | Description |
---|---|---|
double[] | x | The array of X coordinates. |
ISimpleFunction | user | Provides an interface for defining a simple one-variable function of the form y(x) = f(x). |
object | compiled | The object for calculation. |
CalculateFunctionEventHandler | evh | The CalculateFunctionEventHandler which stores event arguments. |
Type | Description |
---|---|
double[] | The calculated array of values of the function. |