Numerical Components for .NET
Namespace: Extreme.Mathematics.CurvesAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 4.2.11333.0 (4.2.12253.0)
[SerializableAttribute] public sealed class Line : Polynomial
<SerializableAttribute> _ Public NotInheritable Class Line _ Inherits Polynomial
[SerializableAttribute] public ref class Line sealed : public Polynomial
[<SealedAttribute>] [<SerializableAttribute>] type Line = class inherit Polynomial end
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(Double) method returns the value of the curve at a specific point. SlopeAt(Double) returns the constant slope of the Line. Integral(Double, Double) evaluates the definite integral over a specified interval.
A Line curve is returned by the GetDerivative()()()() method of the Quadratic class.
Copyright © 2003-2013, Extreme Optimization. All rights reserved. Extreme Optimization, Complexity made simple, M#, and M Sharp are trademarks of ExoAnalytics Inc. Microsoft, Visual C#, Visual Basic, Visual Studio, Visual Studio.NET, and the Optimized for Visual Studio logo are registered trademarks of Microsoft Corporation.