net9.0
namespace Microsoft.ML.Probabilistic.Distributions
{
    [DataContract]
    [DefaultMember("Item")]
    [Quality(QualityBand.Mature)]
    public class Discrete : CanGetAverageLog<Discrete>, CanGetLogAverageOf<Discrete>, CanGetLogAverageOfPower<Discrete>, CanGetLogNormalizer, CanGetLogProb<int>, CanGetMean<double>, CanGetMode<int>, CanGetVariance<double>, HasPoint<int>, IDistribution, IDistribution<int>, Sampleable<int>, SettableToPartialUniform<Discrete>, SettableToUniform, Diffable, SettableTo<Discrete>, SettableToPower<Discrete>, SettableToProduct<Discrete>, SettableToProduct<Discrete, Discrete>, SettableToRatio<Discrete>, SettableToRatio<Discrete, Discrete>, SettableToWeightedSum<Discrete>, SettableToWeightedSumExact<Discrete>, ICloneable
    {
        public Discrete Truncate(int lowerBound, int upperBound);
    }
}
.NET 5.06.07.08.09.0
.NET Core 2.02.12.23.03.1
.NET Framework 4.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard 2.02.1
Information specific to net9.0
Assembly

Microsoft.ML.Probabilistic , Version=0.4.2403.801, PublicKeyToken=e4813102a62778da

Referencing

Your project needs a package reference to Microsoft.ML.Probabilistic.

Package Microsoft.ML.Probabilistic (0.4.2403.801) netstandard2.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API

12/28/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙