Meta.Numerics Library
FromMidpointAndWidth Method (midpoint, width)
Meta.NumericsMeta.NumericsIntervalFromMidpointAndWidth(Double, Double)
Creates a new interval, given its midpoint and width.
Declaration Syntax
C#Visual BasicVisual C++F#
public static Interval FromMidpointAndWidth(
	double midpoint,
	double width
)
Public Shared Function FromMidpointAndWidth ( _
	midpoint As Double, _
	width As Double _
) As Interval
public:
static Interval FromMidpointAndWidth(
	double midpoint, 
	double width
)
static member FromMidpointAndWidth : 
        midpoint:float * 
        width:float -> Interval 
Parameters
midpoint (Double)
The midpoint of the interval.
width (Double)
The width of the interval.
Return Value
The specified interval.