Represents a curve that has different expressions on different intervals within its domain.

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public MustInherit Class PiecewiseCurve _
	Inherits Curve
C#
public abstract class PiecewiseCurve : Curve
C++
public ref class PiecewiseCurve abstract : public Curve

Methods

IconTypeDescription
Clone()
Constructs an exact copy of this instance.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FindRoots()
Gets the set of X-coordinates where the curve crosses the X-axis.
GetCurveFitter()
Returns a CurveFitter object that can be used to fit the curve to data.
GetDataPoint(Int32)
Gets the data point with the specified index.
GetDerivative()
Returns a Curve that represents the derivative of this Curve.
GetHashCode()
Serves as a hash function for a particular type.
GetType()
Gets the Type of the current instance.
GetXValue(Int32)
Returns the X value of the data point with the specified index.
GetYValue(Int32)
Returns the Y value of the data point with the specified index.
IndexOf(Double)
Finds the index of the lower bound of the interval that contains the specfied value.
Integral(Double, Double)
Gets the definite integral of the curve between the specified X-coordinates.
IntegrateOnInterval(Int32, Double, Double)
Returns the integral of the curve over a single interval.
IntegrateOnInterval(Int32)
Returns the value of the integral over the interval with the specified index.
MemberwiseClone()
Creates a shallow copy of the current Object.
OnParameterChanged(Int32, Double)
Called after a Curve parameter has been changed.
OnParameterChanging(Int32, Double)
Called before the value of a curve parameter is changed.
SetDataPoint(Int32, Point)
Sets the X value of the data point with the specified index.
SetDataPoints(Int32[](), Point[]())
Sets the data points at the specified indexes.
SetXValue(Int32, Double)
Sets the X value of the data point with the specified index.
SetXValues(Int32[](), Double[]())
Sets the X values at the specified indexes.
SetYValue(Int32, Double)
Sets the Y value of the data point with the specified index.
SetYValues(Int32[](), Double[]())
Sets the Y values at the specified indexes.
SlopeAt(Double)
Gets the slope of the curve at the specified X-coordinate.
TangentAt(Double)
Gets the tangent Line to the curve at the specified X-coordinate.
ToString()
Returns a String that represents the current Object.
ValueAt(Double)
Gets the Y-value of the curve at the specified X-coordinate.

Constructors

IconTypeDescription
PiecewiseCurveNew(Double[](), Double[]())
Constructs a new PiecewiseCurve object.
PiecewiseCurveNew(Double[](), Double[](), Double[]())
Constructs a new PiecewiseCurve object.
PiecewiseCurveNew(Point[](), Double[]())
Constructs a new PiecewiseCurve object.
PiecewiseCurveNew(Vector, Vector, Double[]())
Constructs a new PiecewiseCurve object.

Properties

IconTypeDescription
NumberOfIntervals
Gets the number of intervals that make up this PiecewiseCurve.
Parameters
Gets the collection of parameters that determine the shape of this Curve.

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:
PiecewiseConstantCurveRepresents a curve that is piecewise constant.
PiecewiseLinearCurveRepresents a piecewise linear function.
CubicSplineRepresents a natural or clamped cubic spline curve, a piecewise 3rd degree polynomial with smoothness and continuity properties.

Inheritance Hierarchy

System.Object
  Extreme.Mathematics.Curves.Curve
    Extreme.Mathematics.Curves.PiecewiseCurve