Meta.Numerics Library
Interval Structure
Meta.NumericsMeta.NumericsInterval
Represents an interval on the real number line.
Declaration Syntax
C#Visual BasicVisual C++F#
[SerializableAttribute]
public struct Interval
<SerializableAttribute> _
Public Structure Interval
[SerializableAttribute]
public value class Interval
[<SealedAttribute>]
[<SerializableAttribute>]
type Interval =  struct end
Members
All MembersMethodsProperties



IconMemberDescription
__repr__()()()()
Produces a representation of the interval for the Python interactive console.
ClosedContains(Double)
Determines whether the argument lies in the closed interval.
Equality(Interval, Interval)
Determines whether two intervals are equal.
Equals(Object)
Determines whether a given object is an equal interval.
(Overrides ValueType.Equals(Object).)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FromEndpointAndWidth(Double, Double)
Creates a new interval, given its lower endpoint and width.
FromEndpoints(Double, Double)
Creates a new interval, given its endpoints.
FromMidpointAndWidth(Double, Double)
Creates a new interval, given its midpoint and width.
GetHashCode()()()()
Returns the hash code for this instance.
(Overrides ValueType.GetHashCode()()()().)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Inequality(Interval, Interval)
Determines whether two intervals are not equal.
LeftEndpoint
Gets the left (lower) endpoint of the interval.
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Midpoint
Gets the mid-point of the interval.
OpenContains(Double)
Determines whether the argument lies in the open interval.
RightEndpoint
Gets the right (upper) endpoint of the interval.
ToString()()()()
Produces a string representation of the interval.
(Overrides ValueType.ToString()()()().)
Width
Gets the width of the interval.
Remarks