ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
vnormgam.cpp
Go to the documentation of this file.
00001 /*
00002  * $Id$
00003  *
00004  * Author: David Fournier
00005  * Copyright (c) 2008-2012 Regents of the University of California
00006  */
00011 #include <fvar.hpp>
00012 
00017 dvariable norm_to_gamma(const prevariable & v,const prevariable& alpha,
00018   double bound)
00019 {
00020   dvariable z=bounded_cumd_norm(v,bound);
00021   return inv_cumd_gamma(z,alpha);
00022 }