Numerical Components for .NET
Namespace: Extreme.Mathematics.Curves Assembly: Extreme.Numerics.Net20 (in Extreme.Numerics.Net20.dll) Version: 3.6.10055.0 (3.6.10077.0)
[SerializableAttribute] public sealed class Constant : Polynomial
<SerializableAttribute> _ Public NotInheritable Class Constant _ Inherits Polynomial
[SerializableAttribute] public ref class Constant sealed : public Polynomial
[<SealedAttribute>] [<SerializableAttribute>] type Constant = class inherit Polynomial end
Use the Constant class to represent a Curve with a constant Y-value. It inherits from Curve and provides specialized implementation for most methods.
A Constant curve has one parameter: the Y-value.
The ValueAt(Double) method returns the constant value of the curve. SlopeAt(Double) always returns zero. Integral(Double, Double) evaluates the definite integral over a specified interval.
A Constant curve is returned by the GetDerivative()()() method of the Line class.
Copyright © 2003-2010, 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.