IntervalFromMidpointAndWidth Method |
Creates a new interval, given its midpoint and width.
Namespace:
Meta.Numerics
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax 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
- Type: SystemDouble
The midpoint of the interval. - width
- Type: SystemDouble
The width of the interval.
Return Value
Type:
IntervalThe specified interval.
See Also