|
Data.Packed.Random | Stability | provisional | Maintainer | Alberto Ruiz <aruiz@um.es> |
|
|
|
Description |
Random vectors and matrices.
|
|
Synopsis |
|
|
|
Documentation |
|
|
Constructors | Uniform | uniform distribution in [0,1)
| Gaussian | normal distribution with mean zero and standard deviation one
|
| Instances | |
|
|
|
:: Int | seed
| -> RandDist | distribution
| -> Int | vector size
| -> Vector Double | | Obtains a vector of pseudorandom elements from the the mt19937 generator in GSL, with a given seed. Use randomIO to get a random seed.
|
|
|
|
:: Int | seed
| -> Int | number of rows
| -> Vector Double | mean vector
| -> Matrix Double | covariance matrix
| -> Matrix Double | result
| Obtains a matrix whose rows are pseudorandom samples from a multivariate
Gaussian distribution.
|
|
|
|
:: Int | seed
| -> Int | number of rows
| -> [(Double, Double)] | ranges for each column
| -> Matrix Double | result
| Obtains a matrix whose rows are pseudorandom samples from a multivariate
uniform distribution.
|
|
|
|
Compute mean vector and covariance matrix of the rows of a matrix.
|
|
Produced by Haddock version 2.4.2 |