Statistics
| Revision:

root / branches / pthreads-737 / src / linad99 / cbetdev.cpp @ 765

History | View | Annotate | Download (452 Bytes)

1
/*
2
 * $Id: cbetdev.cpp 542 2012-07-10 21:04:06Z johnoel $
3
 *
4
 * Author: David Fournier
5
 * Copyright (c) 2008-2012 Regents of the University of California
6
 */
7
/**
8
 * \file
9
 * Description not yet available.
10
 */
11
#include <fvar.hpp>
12

    
13
/**
14
 * Description not yet available.
15
 * \param
16
 */
17
double beta_deviate(double a,double b,double x,double eps)
18
{
19
  double y=cumd_norm(x);
20
  y=.9999999*y+.00000005;
21
  double z=inv_cumd_beta_stable(a,b,y,eps);
22
  return z;
23
}