Interface ITruncatableDistribution<T>
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public interface ITruncatableDistribution<T> : CanGetProbLessThan<T>, CanGetQuantile<T>
Type Parameters
| Name | Description |
|---|---|
| T |
Methods
Truncate(T, T)
Returns the distribution of values restricted to an interval.
Declaration
ITruncatableDistribution<T> Truncate(T lowerBound, T upperBound)
Parameters
| Type | Name | Description |
|---|---|---|
| T | lowerBound | Inclusive |
| T | upperBound | Exclusive |
Returns
| Type | Description |
|---|---|
| ITruncatableDistribution<T> |