ADMB Documentation  11.1.1932
 All Classes Files Functions Variables Typedefs Friends Defines
cnormgam.cpp
Go to the documentation of this file.
00001 /*
00002  * $Id: cnormgam.cpp 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  */
00011 #include <fvar.hpp>
00012 
00017 double norm_to_gamma(double v,double alpha,double bound)
00018 {
00019   double z=bounded_cumd_norm(v,bound);
00020   return inv_cumd_gamma(z,alpha);
00021 }