Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

zignor.h

Go to the documentation of this file.
00001 #ifndef INCLUDED_ZIGNOR_H
00002 #define INCLUDED_ZIGNOR_H
00003 
00004 /*! @file
00005 *==========================================================================
00006 *  This code is Copyright (C) 2005, Jurgen A. Doornik.
00007 *  Permission to use this code for non-commercial purposes
00008 *  is hereby given, provided proper reference is made to:
00009 *   Doornik, J.A. (2005), "An Improved Ziggurat Method to Generate Normal
00010 *          Random Samples", mimeo, Nuffield College, University of Oxford,
00011 *     and www.doornik.com/research.
00012 *   or the published version when available.
00013 * This reference is still required when using modified versions of the code.
00014 *  This notice should be maintained in modified versions of the code.
00015 * No warranty is given regarding the correctness of this code.
00016 *==========================================================================
00017 *
00018 * @author Jurgen A. Doornik (Creator)
00019 *
00020 * $Author: ejt $
00021 * $Name: tekkotsu-4_0 $
00022 * $Revision: 1.1 $
00023 * $State: Exp $
00024 * $Date: 2007/01/25 20:54:13 $
00025 */
00026 
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif
00030 
00031 void    RanNormalSetSeedZig(int *piSeed, int cSeed);
00032 double  DRanNormalZig(void);
00033 void    RanNormalSetSeedZigVec(int *piSeed, int cSeed);
00034 double  DRanNormalZigVec(void);
00035 void    RanNormalSetSeedZig32(int *piSeed, int cSeed);
00036 double  DRanNormalZig32(void);
00037 void    RanNormalSetSeedZig32Vec(int *piSeed, int cSeed);
00038 double  DRanNormalZig32Vec(void);
00039 
00040 double  DRanQuanNormalZig(void);
00041 double  DRanQuanNormalZigVec(void);
00042 double  DRanQuanNormalZig32(void);
00043 double  DRanQuanNormalZig32Vec(void);
00044 
00045 #ifdef __cplusplus
00046 } //extern "C"
00047 #endif
00048 
00049 #endif

Tekkotsu v4.0
Generated Thu Nov 22 00:54:57 2007 by Doxygen 1.5.4