Click or drag to resize
Accord.NET (logo)

HyperrectangleFromMinAndMax 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
public static Hyperrectangle FromMinAndMax(
	double[] min,
	double[] max,
	bool copy = true
Request Example View Source


Type: SystemDouble
The minimum point in the hyperrectangle (the lower bound).
Type: SystemDouble
The maximum point in the hyperrectangle (the upper bound).
copy (Optional)
Type: SystemBoolean
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