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 t_deviate(const df1b2variable& _x,const df1b2variable& _a) 00018 { 00019 df1b2variable& x= (df1b2variable&)(_x); 00020 df1b2variable& a= (df1b2variable&)(_a); 00021 00022 df1b2variable y=cumd_norm(x); 00023 y=.9999*y+.00005; 00024 00025 df1b2variable z=inv_cumd_t(y,a); 00026 00027 return z; 00028 }
Generated on Tue Mar 8 2016 19:51:35 for ADMB Documentation by 1.8.0 |