﻿DiscreteDistribution Class
Represents all discrete distrubtions.

Namespace: Meta.Numerics.Statistics.Distributions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 2.2.0.0 (2.2.0.0)

# Syntax

 C# Visual Basic Visual C++ F#
`public abstract class DiscreteDistribution`
`Public MustInherit Class DiscreteDistribution`
`public ref class DiscreteDistribution abstract`
```[<AbstractClassAttribute>]
type DiscreteDistribution =  class end```

# Members

 All Members Constructors Properties Methods
 Public Protected Instance Static Declared Inherited XNA Framework Only  .NET Compact Framework Only
MemberDescription
DiscreteDistribution()()()()
Initializes a new instance of the DiscreteDistribution class
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExpectationValue(Func<(Of <<'(Int32, Double>)>>))
Computes the expectation value of an artibrary function.
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetRandomValue(Random)
Produces a random integer drawn from the distribution.
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
InverseLeftProbability(Double)
Computes the value corresponding to the given percentile.
LeftProbability(Int32)
Computes the probability of obtaining a value less than or equal to the given value.
Maximum
Gets the largest value in the distribution.
Mean
Gets the mean of the distribution.
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Minimum
Gets the smallest value in the distribution.
Moment(Int32)
Gets a raw moment of the distribution.
Gets a central moment of the distribution.
ProbabilityMass(Int32)
Returns the probability of the obtaining the given value.
RightProbability(Int32)
Computes the probability of obtaining a value greater than the given value.
Skewness
Gets the skewness of the distribution.
StandardDeviation
Getst the standard deviation of the distribution.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Variance
Gets the variance of the distribution.

# Remarks

A discrete distribution is a distribution over the integers.