IntervalT Structure |
public struct Interval<T> : IAdditionOperators<Interval<T>, Interval<T>, Interval<T>>, ISubtractionOperators<Interval<T>, Interval<T>, Interval<T>>, IMultiplyOperators<Interval<T>, Interval<T>, Interval<T>>, IDivisionOperators<Interval<T>, Interval<T>, Interval<T>>, IEqualityOperators<Interval<T>, Interval<T>, bool>, IComparisonOperators<Interval<T>, Interval<T>, bool>, IEquatable<Interval<T>>, IComparable<Interval<T>>, IComparable where T : struct, new(), Object, IFloatingPoint<T>, IRootFunctions<T>, ITrigonometricFunctions<T>
[Missing <typeparam name="T"/> documentation for "T:Altaxo.Calc.Interval`1"]
The IntervalT type exposes the following members.
| Name | Description | |
|---|---|---|
| ArithmeticAverage | Gets the arithmetic average of this interval. | |
| InflateDown | Gets a function that inflates a value towards negative infinity (used to ensure a conservative lower bound). | |
| InflateUp | Gets a function that inflates a value towards positive infinity (used to ensure a conservative upper bound). | |
| Max | Represents the upper bound of this interval. | |
| Min | Represents the lower bound of this interval. | |
| One | Gets a value that represents the number one as a single-point interval, [1,1]. | |
| Size | Gets the size of this interval, calculated as Max minus Min. | |
| Two | Gets a value that represents the number two as a single-point interval, [2,2]. | |
| Zero | Gets a value that represents the number zero as a single-point interval, [0,0]. |
| Name | Description | |
|---|---|---|
| Abs | Returns the absolute value interval. | |
| Add | Adds two intervals and returns the sum. | |
| Clone | Creates a copy of the specified interval. | |
| Combine | Combines two intervals that meet. This is similar to a union, but the intervals must meet. | |
| CompareTo(IntervalT) | Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. | |
| CompareTo(Object) | Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. | |
| Contains | Determines whether this interval contains the specified value. | |
| Divide | Divides two intervals and returns the quotient. | |
| Equals(IntervalT) | Indicates whether the current object is equal to another object of the same type. | |
| Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides ValueTypeEquals(Object)) | |
| Equals(IntervalT, IntervalT) | Compares two values for equality. | |
| From(T) | Creates a single-point interval and inflates bounds conservatively. | |
| From(T, T) | Creates an interval with conservatively inflated bounds. | |
| FromExact(T) | Creates a single-point interval without inflating bounds. | |
| FromExact(T, T) | Creates an interval with exact bounds (no inflation). | |
| GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode) | |
| GetInflatedBounds | Gets the inflated lower and upper bounds for a computed value. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsDisjoint | Determines whether two intervals are disjoint. Two intervals are disjoint if no part of one interval is contained in the other. | |
| Maxx | Returns the interval that is considered the maximum when comparing bounds. | |
| Multiply | Multiplies two intervals and returns the product. | |
| Sqrt | Returns an interval that represents the square root of this interval. | |
| Subtract | Subtracts two intervals and returns the difference. | |
| ToString | Returns the fully qualified type name of this instance. (Overrides ValueTypeToString) | |
| ToString(String, IFormatProvider) | Returns a string that represents this instance. | |
| TryParse | Attempts to parse a string into an IntervalT. |
| Name | Description | |
|---|---|---|
| Addition(IntervalT, IntervalT) | Adds two intervals together and returns their sum. | |
| Division(IntervalT, IntervalT) | Divides two intervals and returns the quotient. | |
| Equality(IntervalT, IntervalT) | Compares two values to determine equality. | |
| GreaterThan(IntervalT, IntervalT) | Compares two values to determine which is greater. | |
| GreaterThanOrEqual(IntervalT, IntervalT) | Compares two values to determine which is greater or equal. | |
| (T to IntervalT) | Performs an implicit conversion from T to IntervalT. | |
| Inequality(IntervalT, IntervalT) | Compares two values to determine inequality. | |
| LessThan(IntervalT, IntervalT) | Compares two values to determine which is less. | |
| LessThanOrEqual(IntervalT, IntervalT) | Compares two values to determine which is less or equal. | |
| Multiply(IntervalT, IntervalT) | Multiplies two intervals and returns the product. | |
| Subtraction(IntervalT, IntervalT) | Subtracts two intervals and returns their difference. | |
| UnaryNegation(IntervalT) | Returns the negated interval. |