Click or drag to resize
Accord.NET (logo)

DoubleRangeToIntRange Method

Converts this double-precision range into an IntRange.

Namespace:  Accord
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public IntRange ToIntRange(
	bool provideInnerRange
)
Request Example View Source

Parameters

provideInnerRange
Type: SystemBoolean
Specifies if inner integer range must be returned or outer range.

Return Value

Type: IntRange
Returns integer version of the range.
Remarks
If provideInnerRange is set to , then the returned integer range will always fit inside of the current single precision range. If it is set to , then current single precision range will always fit into the returned integer range.
See Also