Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics.Curves Namespace
Represents a line.
For a list of all members of this type, see Line Members.
System.Object
Curve
LinearCombination
PolynomialBase
Polynomial
Line
Use a Line to describe a linear relationship between two quantities. It has constant Slope. Unless the slope is zero, it has one root. It inherits from Polynomial and provides specialized implementation for most methods.
A line can be defined in many ways. The Line constructor is overloaded to reflect this.
A Line curve has two parameters: the Y-value where it crosses the Y-axis, and the slope of the line.
The ValueAt method returns the value of the curve at a specific point. SlopeAt returns the constant slope of the Line. Integral evaluates the definite integral over a specified interval.
A Line curve is returned by the GetDerivative method of the Quadratic class.
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Mathematics (in Extreme.Mathematics.dll)
Line Members | Extreme.Mathematics.Curves Namespace