Represents a periodic curve that can be used for a non-linear regression calculation.

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

Syntax

Visual Basic (Declaration)
Public Class SineCurve _
	Inherits NonlinearCurve
C#
public class SineCurve : NonlinearCurve
C++
public ref class SineCurve : public NonlinearCurve

Methods

IconTypeDescription
Clone()
Constructs an exact copy of this instance.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
FillPartialDerivatives(Double, GeneralVector)
Fills a GeneralVector with the partial derivatives of the curve with respect to each of the curve parameters.
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.
SetInitialValues(Vector, Vector)
Sets the curve parameters to initial values based on the specified data.
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
SineCurveNew()
Constructs a new sine curve.

Properties

IconTypeDescription
Amplitude
Gets or sets the amplitude of the sine curve.
Center
Gets or sets the center point of the sine curve.
Offset
Gets or sets the offset of the sine curve.
Parameters
Gets the collection of parameters that determine the shape of this Curve.
Period
Gets or sets the period of the sine curve.

Remarks

Use the SineCurve class to represent a periodic curve that can be used in non-linear least squares fitting. The curve is a 4 parameter sine function:

The solution is very sensitive to the initial values. For details on how to fit a curve of this type, see the NonlinearCurveFitter class.

Inheritance Hierarchy

System.Object
  Extreme.Mathematics.Curves.Curve
    Extreme.Mathematics.Curves.NonlinearCurve
      Extreme.Mathematics.Curves.Nonlinear.SineCurve

See Also