Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics.Curves Namespace > Line Class


Extreme Optimization Mathematics Library for .NET

Line Methods

The methods of the Line class are listed below. For a complete list of Line class members, see the Line Members topic.

Public Static (Shared) Methods

LeastSquaresFit Returns the Line that is the best least squares fit through the given set of points.

Public Instance Methods

Add (inherited from Polynomial)Overloaded. Adds a multiple of another LinearCombination to this instance.
Add (inherited from LinearCombination)Overloaded. Adds a multiple of another LinearCombination to this instance.
Clone (inherited from Curve) Constructs an exact copy of this instance.
Deflate (inherited from Polynomial) Deflates a polynomial by dividing out a root.
Equals (inherited from Polynomial) Overridden. Returns a value indicating whether this instance is equal to a specified object.
FindComplexRoots (inherited from Polynomial) Gets the set of roots of the Polynomial.
FindRoots Returns the X-coordinates of the point where this Line crosses the X-axis. If the line is parallel to the X-axis, the method returns an empty array.
GetCurveFitter (inherited from LinearCombination) Returns a CurveFitter object that can be used to fit the curve to data.
GetDerivative (inherited from Polynomial) Returns a Curve of type Polynomial that represents the derivative of this Polynomial.
GetHashCode (inherited from Polynomial) Overridden. Returns the hash code for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
Integral Gets the definite integral of the curve between the specified X-coordinates.
PassesBetween Returns a value that indicates whether a line passes between two points.
SlopeAtOverloaded. Gets the slope of the curve at the specified X-coordinate.
SlopeAt (inherited from Polynomial)Overloaded. Evaluates the slope or first derivative of a polynomial for a real argument.
Subtract (inherited from LinearCombination) Subtracts another LinearCombination from this instance.
TangentAt (inherited from Curve) Gets the tangent Line to the curve at the specified X-coordinate.
ToString (inherited from Polynomial) Returns a string representation of this instance.
ValueAtOverloaded. Gets the Y-value of the curve at the specified X-coordinate.
ValueAt (inherited from Polynomial)Overloaded. Evaluates the polynomial for a real argument.

Protected Instance Methods

OnParameterChanged (inherited from PolynomialBase) Called when a coefficient of the polynomial is changed.
OnParameterChanging (inherited from Curve) Called before the value of a curve parameter is changed.

See Also

Line Class | Extreme.Mathematics.Curves Namespace