Click or drag to resize

OpenClosedInterval Class

Class OpenClosedInterval represents a numeric interval with an exclusive lower bound and an inclusive upper bound.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreInterval
    CenterSpace.NMath.CoreOpenClosedInterval

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[SerializableAttribute]
public class OpenClosedInterval : Interval

The OpenClosedInterval type exposes the following members.

Constructors
 NameDescription
Public methodOpenClosedInterval Default constructor. Constructs the open-closed interval (0, 1].
Public methodOpenClosedInterval(Double, Double) Constructs an OpenClosedInterval instance with the given endpoints.
Top
Properties
 NameDescription
Public propertyIntervalType Gets and sets the interval type.
(Overrides IntervalIntervalType)
Public propertyMax Gets the right endpoint of the interval (upper bound).
(Inherited from Interval)
Public propertyMin Gets the value of the left-hand endpoint (lower bound).
(Inherited from Interval)
Top
Methods
 NameDescription
Public methodClone Creates a deep copy of this interval.
(Overrides IntervalClone)
Public methodEquals Tests for equality of this interval and another interval.
(Inherited from Interval)
Public methodGetHashCode Returns an integer hash code for this interval.
(Inherited from Interval)
Public methodIsIn Determines if the given data point lies within the interval.
(Inherited from Interval)
Public methodSetEndPoints Method to set the left and right endpoints for self.
(Inherited from Interval)
Public methodToString Returns a formatted string representation of this interval using conventional notation.
(Inherited from Interval)
Public methodToString(String) Returns a formatted string representation of this interval using conventional notation.
(Inherited from Interval)
Top
Fields
 NameDescription
Protected fieldintervalType_
(Inherited from Interval)
Protected fieldmax_
(Inherited from Interval)
Protected fieldmin_
(Inherited from Interval)
Top
See Also