Returns an interval shifted by a specified value..
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Interval Add(
double shift,
Interval interval
)
Public Shared Function Add (
shift As Double,
interval As Interval
) As Interval
public:
static Interval Add(
double shift,
Interval interval
)
static member Add :
shift : float *
interval : Interval -> Interval
Parameters
- shift
- Type: SystemDouble
A real number. - interval
- Type: Extreme.MathematicsInterval
An Interval.
Return Value
Type:
IntervalThe interval whose bounds are the sum of the bounds of
interval and
shift.
Reference