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 
00021 #ifdef __cplusplus
00022 extern "C" {
00023 #endif
00024 
00025 void    RanNormalSetSeedZig(int *piSeed, int cSeed);
00026 double  DRanNormalZig(void);
00027 void    RanNormalSetSeedZigVec(int *piSeed, int cSeed);
00028 double  DRanNormalZigVec(void);
00029 void    RanNormalSetSeedZig32(int *piSeed, int cSeed);
00030 double  DRanNormalZig32(void);
00031 void    RanNormalSetSeedZig32Vec(int *piSeed, int cSeed);
00032 double  DRanNormalZig32Vec(void);
00033 
00034 double  DRanQuanNormalZig(void);
00035 double  DRanQuanNormalZigVec(void);
00036 double  DRanQuanNormalZig32(void);
00037 double  DRanQuanNormalZig32Vec(void);
00038 
00039 #ifdef __cplusplus
00040 } //extern "C"
00041 #endif
00042 
00043 #endif

Tekkotsu v5.1CVS
Generated Mon May 9 04:58:53 2016 by Doxygen 1.6.3