Mod:Lighthouse Papyrus Extender/Math

Math Functions
{| style="width:100%;"
 * valign="top" style="width: 85%;" |

BinomialCoefficient

 * Calculates the binomial coefficient i.e. "n choose k"

int Function BinomialCoefficient(int n, int k) global native

BinomialDistribution

 * Used for binomial distribution calculations

float Function BinomialDistribution(int nTrials, float pChance, int kWins) global native

BinomialDistributionCumulative

 * Used for cumulative binomial distribution calculations

float Function BinomialDistributionCumulative(int nTrials, float pChance, int kWins) global native

GaussianDistribution

 * Returns a random float that is between (and including)  and   that follows Gaussian/normal distribution

float Function GaussianDistribution(float minValue, float maxValue) global native

LogAddExp

 * Calculates

float Function LogAddExp(float xValue, float yValue) global native

PoissonDistribution

 * Used for Poisson distribution calculations

float Function PoissonDistribution(float lambda, int kEvents) global native

PoissonCumulativeProbability

 * Used for cumulative Poisson distribution calculations

float Function PoissonCumulativeProbability(float lambda, int kEvents) global native


 * valign="top" style="width: 15%;"|


 * }