up Inquisit Language Reference

randGeometric function

Generates a random non-negative integer values from a geometric distribution representing the number of trials needed to obtain a single success.

Member of

<global>

Syntax

randGeometric(p)

Return Type

number

Parameters

Name Type Description
p number The probability of success on a given trial.

Remarks

Examples


Copyright Millisecond Software, LLC. All rights reserved.