Distributions
public struct Distributions
Undocumented
-
Undocumented
See moreDeclaration
Swift
public class Bernoulli : DiscreteDistribution
-
Undocumented
See moreDeclaration
Swift
public class Laplace : ContinuousDistribution
-
Undocumented
See moreDeclaration
Swift
public class Poisson : DiscreteDistribution
-
Undocumented
See moreDeclaration
Swift
public class Geometric : DiscreteDistribution
-
Undocumented
See moreDeclaration
Swift
public class Exponential : ContinuousDistribution
-
Undocumented
See moreDeclaration
Swift
public class Binomial : DiscreteDistribution
-
Undocumented
See moreDeclaration
Swift
public class Normal : ContinuousDistribution
-
The log-normal continuous distribution.
Three constructors are provided.
There are two parameter-based constructors; both take the mean of the distribution on the log scale. One constructor takes the variance of the distribution on the log scale, and the other takes the standard deviation on the log scale. See
LogNormal.init(meanLog:varianceLog:)
andLogNormal.init(meanLog:sdLog:)
.One data-based constructor is provided. Given an array of sample values, a log-normal distribution will be created parameterised by the mean and variance of the sample data.
See moreDeclaration
Swift
public class LogNormal : ContinuousDistribution
-
Undocumented
See moreDeclaration
Swift
public class Uniform : ContinuousDistribution