ADMB Documentation  11.1.1913
 All Classes Files Functions Variables Typedefs Friends Defines
rngen.hpp
Go to the documentation of this file.
00001 /*
00002  * $Id: rngen.hpp 1112 2013-07-12 21:41:41Z johnoel $
00003  *
00004  * Author: David Fournier
00005  * Copyright (c) 2008-2012 Regents of the University of California
00006  *
00007  * License:
00008  *
00009  * ADModelbuilder and associated libraries and documentations are
00010  * provided under the general terms of the "New BSD" license
00011  *
00012  * Copyright (c)  2008 Regents of the University of California.
00013  *
00014  * Redistribution and use in source and binary forms, with or without
00015  * modification, are permitted provided that the following conditions are
00016  * met:
00017  *
00018  * 1. Redistributions of source code must retain the above copyright
00019  * notice, this list of conditions and the following disclaimer.
00020  *
00021  * 2.  Redistributions in binary form must reproduce the above copyright
00022  * notice, this list of conditions and the following disclaimer in the
00023  * documentation and/or other materials provided with the distribution.
00024  *
00025  * 3.  Neither the name of the  University of California, Otter Research,
00026  * nor the ADMB Foundation nor the names of its contributors may be used
00027  * to endorse or promote products derived from this software without
00028  * specific prior written permission.
00029  *
00030  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00031  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00032  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
00033  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
00034  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
00035  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
00036  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
00037  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
00038  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00039  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00040  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00041  *
00042  */
00043 
00044 //class ran_number_generator
00045 //{
00046 //  long int idum;
00047 //  long idum2;
00048 //  long iy;
00049 //  ivector iv;
00050 //  double ran_number_generator::better_rand(void);
00051 //  ran_number_generator(int seed);
00052 //  reinitialize(int seed);
00053 //};
00054 //
00055 //double randn(const random_number_gnerator& rng);
00056