expo

Returns a random value exponentially distributed with the specified mean.

Syntax

expo(fmean)

Parameters

Parameter

Type

Description

fmean

number

The mean of the exponential distribution.

Return

Returns a random value exponentially distributed with the specified mean.

Examples

Python

import nex
y = nex.expo(10)

NexScript

y = expo(10)