Represents a curve in two-dimensional space.
SystemObject Extreme.Mathematics.CurvesCurve Extreme.Mathematics.CurvesGeneralCurve Extreme.Mathematics.CurvesLinearCombination Extreme.Mathematics.CurvesNonlinearCurve Extreme.Mathematics.CurvesPiecewiseCurve
Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16073.0)
public abstract class Curve : ICloneable
Public MustInherit Class Curve
public ref class Curve abstract : ICloneable
type Curve =
The Curve type exposes the following members.
Constructs a new curve with the specified number of
Gets the collection of parameters that determine the shape of this
Constructs an exact copy of this instance.
|Equals| (Inherited from Object.)
Determines whether the specified Object
is equal to the current Object
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Gets the set of X-coordinates where the curve crosses
Returns a CurveFitter
object that can be used to fit the curve to data.
Returns a Curve that represents the derivative
of this Curve.
Serves as a hash function for a particular type. (Inherited from Object.)
|GetType| (Inherited from Object.)
Gets the Type
of the current instance.
Gets the definite integral of the curve between the
|MemberwiseClone| (Inherited from Object.)
Creates a shallow copy of the current Object
Called after a Curve parameter has been changed.
Called before the value of a curve parameter is changed.
Sets a curve parameter to the specified value.
Gets the slope of the curve at the specified
Finds the x value where the curve reaches the specified y value.
Gets the tangent line to the curve at the
Returns a string that represents the current object. (Inherited from Object.)
Gets the Y-value of the curve at the specified
The Curve class is the
base class for classes that represent curves in two-dimensional space.
It defines common properties and methods for all such classes. Derived classes provide
implementations for specific types of curves.
The name 'Curve' was chosen as an alternative to 'Function', which is a reserved
word in many languages.
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 all the roots or zeros of the
A particular type of curve is defined by a
set of parameters. These parameters can be set and
retrieved through the Parameters property
which is a vector. The
number of such parameters is given by the
of the Parameters property.
Curve is an abstract base class
and cannot be instantiated directly. The following
derived classes have been defined:
Notes to inheritors: When you derive
from Curve, you must override the following
member: ValueAt(Double). You should also override
the following members: SlopeAt(Double),
Integral(Double, Double), FindRoots, and GetDerivative.
Supported in: 6.0, 5.x, 4.x