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

Parameters

min
Type: SystemDouble
The minimum point in the hyperrectangle (the lower bound).
max
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