Show / Hide Table of Contents

Class LaplaceSampler

Generate samples from a Laplace distribution

Inheritance
object
SampleGenerator
LaplaceSampler
Inherited Members
SampleGenerator.Sampler
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Quantellia.WMServer.Simulation
Assembly: WMServer.dll
Syntax
public class LaplaceSampler : SampleGenerator

Constructors

LaplaceSampler(double, double)

Create a new instance of a LaplaceSampler distribution sampler with the specified shape and scale parameters

Declaration
public LaplaceSampler(double mu, double b)
Parameters
Type Name Description
double mu
double b

Properties

B

B parameter

Declaration
public double B { get; set; }
Property Value
Type Description
double

Mu

A parameter

Declaration
public double Mu { get; set; }
Property Value
Type Description
double

Methods

Sample()

Evaluate a sample from the LaplaceSampler distribution

Declaration
public override ElementValue Sample()
Returns
Type Description
ElementValue
Overrides
SampleGenerator.Sample()
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE