Numerical Components for .NET
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 4.2.11333.0 (4.2.12253.0)
[SerializableAttribute] public struct Interval<T> : IEquatable<Interval<T>> where T : IComparable<T>
<SerializableAttribute> _ Public Structure Interval(Of T As IComparable(Of T)) _ Implements IEquatable(Of Interval(Of T))
[SerializableAttribute] generic<typename T> where T : IComparable<T> public value class Interval : IEquatable<Interval<T>>
[<SealedAttribute>] [<SerializableAttribute>] type Interval<'T when 'T : IComparable<'T>> = struct interface IEquatable<Interval<'T>> end
Use the Interval<(Of <(<'T>)>)> structure to represent an interval of ordered values. The type of the values must support the IComparable<(Of <(<'T>)>)> interface.
The LowerBound and UpperBound properties return the bounds of the interval. The Contains(T) method determines whether a value is contained within an interval.
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.