Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

vnl_sample.h File Reference

easy ways to sample from various probability distributions. More...

Go to the source code of this file.

Functions

void vnl_sample_reseed ()
double vnl_sample_uniform (double a, double b)
void vnl_sample_normal_2 (double *x, double *y)
double vnl_sample_normal (double mean, double sigma)


Detailed Description

easy ways to sample from various probability distributions.

Author:
unknown

Definition in file vnl_sample.h.


Function Documentation

double vnl_sample_normal double    mean,
double    sigma
 

Normal distribution with given mean and standard deviation.

void vnl_sample_normal_2 double *    x,
double *    y
 

two independent samples from a standard normal distribution.

void vnl_sample_reseed  
 

re-seed the random number generator.

double vnl_sample_uniform double    a,
double    b
 

uniform on [a, b).


Generated at Wed Mar 12 01:13:19 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000