Command: rdevdict::exponential

NEST HelpDesk Command Index NEST Quick Reference
Name:
rdevdict::exponential - exponential random deviate generator
Description:
Generates exponentially distributed random numbers.  
Negative values of lambda are allowed and generate a distribution
of negative numbers.

For lambda > 0:
p(x) = lambda exp(-lambda*x), for x >= 0
p(x) = 0, for x < 0

For lambda < 0:
p(x) = 0, for x > 0
p(x) = |lambda| exp ( -|lambda| |x| ), for x <= 0

Parameters:
 
lambda - rate parameter (default: 1.0)

Author:
Hans Ekkehard Plesser 
SeeAlso: Source:
/builddir/build/BUILD/nest-simulator-2.16.0/nest-simulator-2.16.0/librandom/exp_randomdev.h
NEST HelpDesk Command Index NEST Quick Reference

© 2004 The NEST Initiative