Click or drag to resize
Accord.NET (logo)

Hyperrectangle. FromMinAndMax Method

Initializes a new instance of the Hyperrectangle struct from minimum and maximum values.

Namespace:  Accord.Math
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public static Hyperrectangle FromMinAndMax(
	double[] min,
	double[] max,
	bool copy = true
)
Request Example View Source

Parameters

min
Type:System.Double[]
The minimum point in the hyperrectangle (the lower bound).
max
Type:System.Double[]
The maximum point in the hyperrectangle (the upper bound).
copy (Optional)
Type: System.Boolean
Whether the passed vectors should be copied into this instance or used as-is. Default is true (elements from the given vectors will be copied into new array instances).

Return Value

Type: Hyperrectangle
See Also