IntervalFromMidpointAndWidth Method

Creates a new interval, given its midpoint and width.

Definition

Namespace: Meta.Numerics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static Interval FromMidpointAndWidth(
	double midpoint,
	double width
)

Parameters

midpoint  Double
The midpoint of the interval.
width  Double
The width of the interval.

Return Value

Interval
The specified interval.

See Also