Interval.Subtraction Operator
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Subtraction( | Returns an interval negated and shifted to the right by a specified value. |
Subtraction( | Returns the sum of two intervals. |
Subtraction( | Returns an interval shifted to the left by a specified value. |
Subtraction(Double, Interval) Operator
Returns an interval negated and shifted to the right by a specified value.
public static Interval operator -(
double shift,
Interval interval
)
Parameters
Return Value
IntervalThe interval whose bounds are the difference between shift and the bounds of interval.
Subtraction(Interval, Interval) Operator
Returns the sum of two intervals.
public static Interval operator -(
Interval interval1,
Interval interval2
)
Parameters
Return Value
IntervalThe interval whose bounds are the difference between the bounds of interval1 and interval2.
Subtraction(Interval, Double) Operator
Returns an interval shifted to the left by a specified value.
public static Interval operator -(
Interval interval,
double shift
)
Parameters
Return Value
IntervalThe interval whose bounds are the difference between the bounds of interval and shift.