Piecewise Curve Class
Represents a curve that has different expressions on different intervals within its domain.
Definition
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public abstract class PiecewiseCurve : Curve
- Derived
Remarks
This is an abstract base class and cannot be instantiated directly. Instead, use one of the derived classes as listed in the following table:
Piecewise | Represents a curve that is piecewise constant. |
Piecewise | Represents a piecewise linear function. |
Cubic | Represents a natural or clamped cubic spline curve, a piecewise 3rd degree polynomial with smoothness and continuity properties. |
Constructors
Piecewise | Constructs a new PiecewiseCurve object. |
Piecewise | Constructs a new PiecewiseCurve object. |
Piecewise | Constructs a new PiecewiseCurve object. |
Piecewise | Constructs a new PiecewiseCurve object. |
Piecewise | Constructs a new PiecewiseCurve object. |
Piecewise | Constructs a new PiecewiseCurve object. |
Properties
Number | Gets the number of intervals that make up this PiecewiseCurve. |
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.
(Inherited from Curve) |
Get |
Returns a CurveFitter object that can be used to fit the curve to data.
(Inherited from Curve) |
Get | Gets the data point with the specified index. |
Get |
Returns a Curve that represents the derivative
of this Curve.
(Inherited from Curve) |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Get | Returns the X value of the data point with the specified index. |
Get | Returns the Y value of the data point with the specified index. |
Index | Finds the index of the lower bound of the interval that contains the specfied value. |
Integral |
Gets the definite integral of the curve between the
specified X-coordinates.
(Overrides Curve.Integral(Double, Double)) |
Integrate | Returns the value of the integral over the interval with the specified index. |
Integrate | Returns the integral of the curve over a single interval. |
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.
(Overrides Curve.OnParameterChanging(Int32, Double)) |
Set | Sets the X value of the data point with the specified index. |
Set | Sets the data points at the specified indexes. |
Set |
Sets a curve parameter to the specified value.
(Inherited from Curve) |
Set | Sets the X value of the data point with the specified index. |
Set | Sets the X values at the specified indexes. |
Set | Sets the Y value of the data point with the specified index. |
Set | Sets the Y values at the specified indexes. |
Slope |
Gets the slope of the curve at the specified
X-coordinate.
(Inherited from Curve) |
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.
(Inherited from Curve) |