www.pudn.com > Genecircus20070919.rar > Random.h


#pragma once 
#include "wx_pch.h" 
typedef std::vector history; 
class CRandom 
{ 
public: 
	CRandom(void); 
	double rand_uniform(); 
	double rand_puli(double pp,double n); 
	double log_gamma(double xx); 
	inline double unidev() 
	{ 
		return rand_uniform(); 
	} 
	void moment(history data,int n,double & ave,double & adev,double & sdev,double & var,double & skew,double & curt); 
public: 
	~CRandom(void); 
};