Revision 594 trunk/contrib/ecolib/Hassell.cpp
Hassell.cpp (revision 594)  

10  10 
\param b ; differentiable scalar 
11  11 
\param c ; differentiable scalar 
12  12 
\return \f$ \frac{ax}{(b+x)^c} \f$ 
13 
\ingroup ECOL 

13  14 
**/ 
14  15 
dvariable Hassell(const double& x, const prevariable& a, const prevariable& b, const prevariable& c) 
15  16 
{ 
...  ...  
26  27 
\param b ; differentiable scalar 
27  28 
\param c ; differentiable scalar 
28  29 
\return \f$ \frac{ax}{(b+x)^c} \f$ 
30 
\ingroup ECOL 

29  31 
**/ 
30  32 
dvar_vector Hassell(const dvector& x, const prevariable& a, const prevariable& b, const prevariable& c) 
31  33 
{ 
...  ...  
42  44 
\param b ; differentiable scalar 
43  45 
\param c ; differentiable scalar 
44  46 
\return \f$ \frac{ax}{(b+x)^c} \f$ 
47 
\ingroup ECOL 

45  48 
**/ 
46  49 
dvar_vector Hassell(const dvector& x, const dvar_vector& a, const prevariable& b, const prevariable& c) 
47  50 
{ 
...  ...  
59  62 
\param b ; differentiable vector 
60  63 
\param c ; differentiable scalar 
61  64 
\return \f$ \frac{ax}{(b+x)^c} \f$ 
65 
\ingroup ECOL 

62  66 
**/ 
63  67 
dvar_vector Hassell(const dvector& x, const prevariable& a, const dvar_vector& b, const prevariable& c) 
64  68 
{ 
...  ...  
75  79 
\param b ; differentiable vector 
76  80 
\param c ; differentiable scalar 
77  81 
\return \f$ \frac{ax}{(b+x)^c} \f$ 
82 
\ingroup ECOL 

78  83 
**/ 
79  84 
dvar_vector Hassell(const dvector& x, const dvar_vector& a, const dvar_vector& b, const prevariable& c) 
80  85 
{ 
...  ...  
93  98 
\param b ; differentiable scalar 
94  99 
\param c ; differentiable vector 
95  100 
\return \f$ \frac{ax}{(b+x)^c} \f$ 
101 
\ingroup ECOL 

96  102 
**/ 
97  103 
dvar_vector Hassell(const dvector& x, const prevariable& a, const prevariable& b, const dvar_vector& c) 
98  104 
{ 
...  ...  
109  115 
\param b ; differentiable scalar 
110  116 
\param c ; differentiable vector 
111  117 
\return \f$ \frac{ax}{(b+x)^c} \f$ 
118 
\ingroup ECOL 

112  119 
**/ 
113  120 
dvar_vector Hassell(const dvector& x, const dvar_vector& a, const prevariable& b, const dvar_vector& c) 
114  121 
{ 
...  ...  
126  133 
\param b ; differentiable vector 
127  134 
\param c ; differentiable vector 
128  135 
\return \f$ \frac{ax}{(b+x)^c} \f$ 
136 
\ingroup ECOL 

129  137 
**/ 
130  138 
dvar_vector Hassell(const dvector& x, const prevariable& a, const dvar_vector& b, const dvar_vector& c) 
131  139 
{ 
...  ...  
142  150 
\param b ; differentiable vector 
143  151 
\param c ; differentiable vector 
144  152 
\return \f$ \frac{ax}{(b+x)^c} \f$ 
153 
\ingroup ECOL 

145  154 
**/ 
146  155 
dvar_vector Hassell(const dvector& x, const dvar_vector& a, const dvar_vector& b, const dvar_vector& c) 
147  156 
{ 
...  ...  
161  170 
\param b ; differentiable scalar in a random effects model 
162  171 
\param c ; differentiable scalar in a random effects model 
163  172 
\return \f$ \frac{ax}{(b+x)^c} \f$ 
173 
\ingroup ECOL 

164  174 
**/ 
165  175 
df1b2variable Hassell(const double& x, const df1b2variable& a, const df1b2variable& b, const df1b2variable& c) 
166  176 
{ 
...  ...  
175  185 
\param b ; differentiable scalar in a random effects model 
176  186 
\param c ; differentiable scalar in a random effects model 
177  187 
\return \f$ \frac{ax}{(b+x)^c} \f$ 
188 
\ingroup ECOL 

178  189 
**/ 
179  190 
df1b2vector Hassell(const dvector& x, const df1b2variable& a, const df1b2variable& b, const df1b2variable& c) 
180  191 
{ 
...  ...  
189  200 
\param b ; differentiable scalar in a random effects model 
190  201 
\param c ; differentiable scalar in a random effects model 
191  202 
\return \f$ \frac{ax}{(b+x)^c} \f$ 
203 
\ingroup ECOL 

192  204 
**/ 
193  205 
df1b2vector Hassell(const dvector& x, const df1b2vector& a, const df1b2variable& b, const df1b2variable& c) 
194  206 
{ 
Also available in: Unified diff