ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
df1b2normgam.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 <df1b2fun.h>
00012 
00017 df1b2variable norm_to_gamma(const df1b2variable & v,const df1b2variable& alpha,
00018   double bound)
00019 {
00020   df1b2variable z=bounded_cumd_norm(v,bound);
00021   return inv_cumd_gamma(z,alpha);
00022 }