Click or drag to resize

RMathIsInIntervalOC Method

Tests whether or not x is in the semi-open interval (xmin, xmax]. No test is done if xmin is less than xmax.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static bool IsInIntervalOC(
	this double x,
	double xmin,
	double xmax
)

Parameters

x  Double
The argument.
xmin  Double
The lower boundary of the interval.
xmax  Double
The upper boundary of the interval.

Return Value

Boolean
True if xmin < x and x <= xmax.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Double. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also