constant

constant

constant (n)
Creates an random distribution object which returns always n whenever a number is drawn.

Parameters

n : float
The returned number for every drawn random number.

Example (python-conedy)

import conedy as co


random = co.constant (0.5)

Example (conedy)

Table Of Contents

Previous topic

bimodal

Next topic

gaussian