[]
        
(Showing Draft Content)

C1.Win.C1Chart.FunctionBase.CalcFunction

CalcFunction Method

CalcFunction(double, ISimpleFunction, object, CalculateFunctionEventHandler)

Calculates the value of the function at the specified parameter value.

Declaration
protected double CalcFunction(double x, ISimpleFunction user, object compiled, CalculateFunctionEventHandler evh)
Parameters
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.

Returns
Type Description
double

The calculated value of the function.

CalcFunction(double[], ISimpleFunction, object, CalculateFunctionEventHandler)

Calculates the value of the function at the specified parameter value.

Declaration
protected double[] CalcFunction(double[] x, ISimpleFunction user, object compiled, CalculateFunctionEventHandler evh)
Parameters
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.

Returns
Type Description
double[]

The calculated array of values of the function.