Click or drag to resize

LaplaceDistribution Class

Represents a Laplace distribution.
Inheritance Hierarchy

Namespace:  Meta.Numerics.Statistics.Distributions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public sealed class LaplaceDistribution : ContinuousDistribution

The LaplaceDistribution type exposes the following members.

Constructors
  NameDescription
Public methodLaplaceDistribution
Initializes a new standard Laplace distribution.
Public methodLaplaceDistribution(Double, Double)
Initializes a new Laplace distribution with the given location and scale parameters.
Top
Properties
Methods
  NameDescription
Public methodCentralMoment
Computes a central moment of the distribution.
(Overrides ContinuousDistributionCentralMoment(Int32).)
Public methodCumulant
Computes a cumulant of the distribution.
(Overrides UnivariateDistributionCumulant(Int32).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExpectationValue
Computes the expectation value of the given function.
(Inherited from ContinuousDistribution.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRandomValue
Generates a random variate.
(Inherited from ContinuousDistribution.)
Public methodGetRandomValues
Generates the given number of random variates.
(Inherited from ContinuousDistribution.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHazard
Computes the hazard function.
(Overrides ContinuousDistributionHazard(Double).)
Public methodInverseLeftProbability
Returns the point at which the cumulative distribution function attains a given value.
(Overrides ContinuousDistributionInverseLeftProbability(Double).)
Public methodInverseRightProbability
Returns the point at which the right probability function attains the given value.
(Overrides ContinuousDistributionInverseRightProbability(Double).)
Public methodLeftProbability
Returns the cumulative probability to the left of (below) the given point.
(Overrides ContinuousDistributionLeftProbability(Double).)
Public methodProbabilityDensity
Returns the probability density at the given point.
(Overrides ContinuousDistributionProbabilityDensity(Double).)
Public methodRawMoment
Computes a raw moment of the distribution.
(Overrides ContinuousDistributionRawMoment(Int32).)
Public methodRightProbability
Returns the cumulative probability to the right of (above) the given point.
(Overrides ContinuousDistributionRightProbability(Double).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

A Laplace distribution, also called the double exponential distribution, is a symmetric variant of the ExponentialDistribution. Instead of putting all events to the right of the origin, it puts events on both sides of its central location with equally, with a probability density falling off exponentially on each side.

See Also