General Curve Class
Definition
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public class GeneralCurve : Curve
Remarks
This class inherits from the Curve class, which provides common properties and methods for all classes that represent two-dimensional curves.
The ValueAt(Double) method evaluates the curve at a specific point. SlopeAt(Double) evaluates the derivative, and Integral(Double, Double) evaluates the definite integral over a specified interval. If overridden by a descendant class, the GetDerivative() method returns the Curve that is the derivative of the instance. The FindRoots() method attempts to find one zero of the function using Newton's method.
Curves of this type do not have any parameters. The Parameters collection is always empty.
Constructors
General | Constructs a new GeneralCurve from a function of one variable delegate. |
General | Constructs a new GeneralCurve from a function of one variable delegate with the specified derivative. |
General | Constructs a new GeneralCurve from a function of one variable delegate with the specified derivative. |
Properties
Parameters |
Gets the collection of parameters that determine the shape of this
Curve.
(Inherited from Curve) |
Methods
Clone |
Constructs an exact copy of this instance.
(Inherited from Curve) |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
Find |
Gets the set of X-coordinates where the curve crosses
the X-axis.
(Overrides Curve.FindRoots()) |
Get |
Returns a CurveFitter object that can be used to fit the curve to data.
(Inherited from Curve) |
Get |
Returns a Curve that represents the derivative
of this Curve.
(Overrides Curve.GetDerivative()) |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Integral |
Gets the definite integral of the curve between the
specified X-coordinates.
(Overrides Curve.Integral(Double, Double)) |
Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
OnParameter |
Called after a Curve parameter has been changed.
(Inherited from Curve) |
OnParameter |
Called before the value of a curve parameter is changed.
(Inherited from Curve) |
Set |
Sets a curve parameter to the specified value.
(Inherited from Curve) |
Slope |
Gets the slope of the curve at the specified
X-coordinate.
(Overrides Curve.SlopeAt(Double)) |
Solve |
Finds the x value where the curve reaches the specified y value.
(Inherited from Curve) |
Tangent |
Gets the tangent line to the curve at the
specified X-coordinate.
(Inherited from Curve) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Value |
Gets the Y-value of the curve at the specified
X-coordinate.
(Overrides Curve.ValueAt(Double)) |