Interval.Addition Operator

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Addition(Double, Interval) Returns an interval shifted by a specified value..
Addition(Interval, Interval) Returns the sum of two intervals.
Addition(Interval, Double) Returns an interval shifted by a specified value..

Interval.Addition(Double, Interval)

Returns an interval shifted by a specified value..
C#
public static Interval operator +(
	double shift,
	Interval interval
)

Parameters

shift  Double
A real number.
interval  Interval
An Interval.

Return Value

Interval
The interval whose bounds are the sum of the bounds of interval and shift.

Interval.Addition(Interval, Interval)

Returns the sum of two intervals.
C#
public static Interval operator +(
	Interval interval1,
	Interval interval2
)

Parameters

interval1  Interval
An Interval.
interval2  Interval
An Interval.

Return Value

Interval
The interval whose bounds are the sum of the bounds of interval1 and interval2.

Interval.Addition(Interval, Double)

Returns an interval shifted by a specified value..
C#
public static Interval operator +(
	Interval interval,
	double shift
)

Parameters

interval  Interval
An Interval.
shift  Double
A real number.

Return Value

Interval
The interval whose bounds are the sum of the bounds of interval and shift.

See Also