ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
dunif.cpp
Go to the documentation of this file.
1 #include "statsLib.h"
2 
15 //uniform distribution
16 dvariable dunif(const dvariable& x, const double min, const double max)
17 {
18  return log(max-min);
19 }
#define x
#define min(a, b)
Definition: cbivnorm.cpp:188
dvariable dunif(const dvariable &x, const double min, const double max)
Definition: dunif.cpp:16
Library of statistic functions.
#define max(a, b)
Definition: cbivnorm.cpp:189
Fundamental data type for reverse mode automatic differentiation.
Definition: fvar.hpp:1518
d3_array log(const d3_array &arr3)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Definition: d3arr2a.cpp:13