Interface ICanTruncateRight<TDomain>
Whether the distribution can be right truncated.
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public interface ICanTruncateRight<TDomain>
where TDomain : IComparable<TDomain>
Type Parameters
Name | Description |
---|---|
TDomain |
Methods
GetEndPoint()
Gets the end point of the truncated distribution.
Declaration
TDomain GetEndPoint()
Returns
Type | Description |
---|---|
TDomain | The end point. |
TruncateRight(TDomain)
Truncates the distribution at the given point.
Declaration
void TruncateRight(TDomain endPoint)
Parameters
Type | Name | Description |
---|---|---|
TDomain | endPoint | All domain values greater than this are guaranteed to have zero probability. |