Revision 1107 trunk/src/df1b2-separable/vgamdens.cpp

vgamdens.cpp (revision 1107)
2 2
 * $Id$
3 3
 *
4 4
 * Author: David Fournier
5
 * Copyright (c) 2008-2012 Regents of the University of California 
5
 * Copyright (c) 2008-2012 Regents of the University of California
6 6
 */
7 7
/**
8 8
 * \file
......
21 21

  
22 22
    return exp(r*log(mu) + (r-1)*log(x)-mu*x-gammln(r));
23 23
  }
24
  
24

  
25 25
/**
26 26
 * Description not yet available.
27 27
 * \param
28
 */  
28
 */
29 29
  df1b2variable gamma_density(const df1b2variable& _x,const df1b2variable& _r,
30 30
    const  df1b2variable& _mu)
31 31
  {
......
34 34
    df1b2variable& mu= (df1b2variable&)(_mu);
35 35
    return exp(r*log(mu) + (r-1)*log(x)-mu*x-gammln(r));
36 36
  }
37
    
37

  
38 38
/**
39 39
 * Description not yet available.
40 40
 * \param
......
45 45

  
46 46
    return r*log(mu) + (r-1)*log(x)-mu*x-gammln(r);
47 47
  }
48
    
48

  
49 49
/**
50 50
 * Description not yet available.
51 51
 * \param

Also available in: Unified diff