|
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
)
Public Shared Function FromMinAndMax (
min As Double(),
max As Double(),
Optional copy As Boolean = true
) As Hyperrectangle
Request Example
View SourceParameters
- 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:
HyperrectangleSee Also