Class Region
Represents a hyper-rectangle in arbitrary dimensions.
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
Constructors
Region(Region)
Declaration
public Region(Region that)
Parameters
Type |
Name |
Description |
Region |
that |
|
Region(Int32)
Creates a new Region containing only the all-zero vector.
Declaration
public Region(int dimension)
Parameters
Type |
Name |
Description |
Int32 |
dimension |
|
Fields
Lower
Declaration
public readonly Vector Lower
Field Value
Upper
Declaration
public readonly Vector Upper
Field Value
Properties
Dimension
Declaration
public int Dimension { get; }
Property Value
Methods
CompareTo(Region)
Declaration
public int CompareTo(Region other)
Parameters
Type |
Name |
Description |
Region |
other |
|
Returns
CompareTo(Vector, Vector)
Declaration
public int CompareTo(Vector a, Vector b)
Parameters
Returns
Contains(Vector)
Declaration
public bool Contains(Vector x)
Parameters
Type |
Name |
Description |
Vector |
x |
|
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
GetLogVolume()
Declaration
public double GetLogVolume()
Returns
GetMidpoint()
Declaration
public Vector GetMidpoint()
Returns
GetMidpoint(Double, Double)
Declaration
public static double GetMidpoint(double lower, double upper)
Parameters
Returns
Sample()
Declaration
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
ToString(String)
Declaration
public string ToString(string format)
Parameters
Type |
Name |
Description |
String |
format |
|
Returns
Declaration
public static double Uniform(double lowerBound, double upperBound)
Parameters
Returns