2.1.24.8.13 laprnd
Contents
Description
Generates an array of random numbers from a laplace distribution
Syntax
int laprnd( double * v, uint n, double mu, double sigma )
Parameters
- v
- [output] Pointer to a double array, which contain the results
- n
- [input] The number of pseudo-random numbers to be generated. n>=1
- mu
- [input] The location parameter of the Laplace distribution
- sigma
- [input] The scale parameter of the Laplace distribution
Return
Return NE_NOERROR(0) on success, otherwise error
Examples
Remark
See Also
Header to Include
origin.h