Represents a curve in two-dimensional space whose value is defined by a RealFunction delegate.

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

Syntax

Visual Basic (Declaration)
Public Class GeneralCurve _
	Inherits Curve
C#
public class GeneralCurve : Curve
C++
public ref class GeneralCurve : 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.
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.
Integral(Double, Double)
Gets the definite integral of the curve between the specified X-coordinates.
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.
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
GeneralCurveNew(RealFunction)
Constructs a new GeneralCurve from a RealFunction delegate.
GeneralCurveNew(RealFunction, RealFunction)
Constructs a new GeneralCurve from a RealFunction delegate with the specified derivative.
GeneralCurveNew(RealFunction, RealFunction, RealFunction)
Constructs a new GeneralCurve from a RealFunction delegate with the specified derivative.

Properties

IconTypeDescription
Parameters
Gets the collection of parameters that determine the shape of this 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 NewtonRaphsonSolver.

Curves of this type do not have any parameters. The Parameters collection is always empty.

Inheritance Hierarchy

System.Object
  Extreme.Mathematics.Curves.Curve
    Extreme.Mathematics.Curves.GeneralCurve