[]
The Yfunction class is used to describe simple functions defined explicitly by equations of the form y(x) = f(x).
public class YFunction : FunctionBase, IDisposable, ICloneable
Name | Description |
---|---|
YFunction() | Initializes a new instance of the YFunction class. This constructor is equivalent to YFunction(true). |
YFunction(bool) | Initializes a new instance of the YFunction class. Specifies whether the YFunction object should be created in a way that allows the compiled functions (in-memory assemblies) be unloaded. |
Name | Description |
---|---|
AutoMax | Gets or sets whether the maximum X value is calculated automatically. |
AutoMin | Gets or sets whether the minimum X value is calculated automatically. |
CodeText | Gets or sets the function code. |
CustomFunction | Gets or sets a user-defined custom function object. |
MaxX | Gets or sets the maximum X value of the plotted function. |
MinX | Gets or sets the minimum X value of the plotted function. |
Name | Description |
---|---|
GetPoints(bool) | Gets the calulated Y points of chart. |
GetY(double) | Calculates the value of the function at specified X value. |
GetYValues(double[]) | Calculates the values of the function at specified X values. |
Recompile() | The code will be compiled as formula, a method or as full compile unit. |
Name | Description |
---|---|
CalculateY | Fires whenever the function value is calculated. |