Click or drag to resize
Accord.NET (logo)

HyperrectangleFromMinAndLength Method

Initializes a new instance of the Hyperrectangle struct from a minimum value and a size.

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

Parameters

min
Type: SystemDouble
The minimum point in the hyperrectangle (the lower bound).
size
Type: SystemDouble
The size of each dimension (i.e. width, height, and so on).
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