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

6  6 
/*2nd variable is a scalar*/ 
7  7 
/** generalized Ricker function, first parameerization; scalar 
8  8 
\param x independent variable; data scalar 
9 
\param x0 \f$x_0\f$; differentiable scalar.


9 
\param x0 ; differentiable scalar


10  10 
\param A ; differentiable scalar 
11  11 
\param alpha ; differentiable scalar 
12 
\return \f$ A(\frac{x}{x_0}e^{(1.0\frac{x}{x_0})})^{\alpha} \f$


12 
\return \f$ A(\frac{x}{x0}e^{(1.0\frac{x}{x0})})^{\alpha} \f$


13  13 
\ingroup ECOL 
14  14 
**/ 
15  15 
dvariable generalized_Ricker1(const double& x, const prevariable& x0, const prevariable& A, const prevariable& alpha) 
...  ...  
27  27 
\param A ; differentiable scalar 
28  28 
\param alpha ; differentiable scalar 
29  29 
\return \f$ A(\frac{x}{x0}e^{(1.0\frac{x}{x0})})^{\alpha} \f$ 
30 
\ingroup ECOL 

30  31 
**/ 
31  32 
dvar_vector generalized_Ricker1(const dvector& x, const prevariable& x0, const prevariable& A, const prevariable& alpha) 
32  33 
{ 
...  ...  
43  44 
\param A ; differentiable scalar 
44  45 
\param alpha ; differentiable scalar 
45  46 
\return \f$ A(\frac{x}{x0}e^{(1.0\frac{x}{x0})})^{\alpha} \f$ 
47 
\ingroup ECOL 

46  48 
**/ 
47  49 
dvar_vector generalized_Ricker1(const dvector& x, const dvar_vector& x0, const prevariable& A, const prevariable& alpha) 
48  50 
{ 
...  ...  
60  62 
\param A ; differentiable vector 
61  63 
\param alpha ; differentiable scalar 
62  64 
\return \f$ A(\frac{x}{x0}e^{(1.0\frac{x}{x0})})^{\alpha} \f$ 
65 
\ingroup ECOL 

63  66 
**/ 
64  67 
dvar_vector generalized_Ricker1(const dvector& x, const prevariable& x0, const dvar_vector& A, const prevariable& alpha) 
65  68 
{ 
...  ...  
76  79 
\param A ; differentiable vector 
77  80 
\param alpha ; differentiable scalar 
78  81 
\return \f$ A(\frac{x}{x0}e^{(1.0\frac{x}{x0})})^{\alpha} \f$ 
82 
\ingroup ECOL 

79  83 
**/ 
80  84 
dvar_vector generalized_Ricker1(const dvector& x, const dvar_vector& x0, const dvar_vector& A, const prevariable& alpha) 
81  85 
{ 
...  ...  
94  98 
\param A ; differentiable scalar 
95  99 
\param alpha ; differentiable vector 
96  100 
\return \f$ A(\frac{x}{x0}e^{(1.0\frac{x}{x0})})^{\alpha} \f$ 
101 
\ingroup ECOL 

97  102 
**/ 
98  103 
dvar_vector generalized_Ricker1(const dvector& x, const prevariable& x0, const prevariable& A, const dvar_vector& alpha) 
99  104 
{ 
...  ...  
110  115 
\param A ; differentiable scalar 
111  116 
\param alpha ; differentiable vector 
112  117 
\return \f$ A(\frac{x}{x0}e^{(1.0\frac{x}{x0})})^{\alpha} \f$ 
118 
\ingroup ECOL 

113  119 
**/ 
114  120 
dvar_vector generalized_Ricker1(const dvector& x, const dvar_vector& x0, const prevariable& A, const dvar_vector& alpha) 
115  121 
{ 
...  ...  
127  133 
\param A ; differentiable vector 
128  134 
\param alpha ; differentiable vector 
129  135 
\return \f$ A(\frac{x}{x0}e^{(1.0\frac{x}{x0})})^{\alpha} \f$ 
136 
\ingroup ECOL 

130  137 
**/ 
131  138 
dvar_vector generalized_Ricker1(const dvector& x, const prevariable& x0, const dvar_vector& A, const dvar_vector& alpha) 
132  139 
{ 
...  ...  
143  150 
\param A ; differentiable vector 
144  151 
\param alpha ; differentiable vector 
145  152 
\return \f$ A(\frac{x}{x0}e^{(1.0\frac{x}{x0})})^{\alpha} \f$ 
153 
\ingroup ECOL 

146  154 
**/ 
147  155 
dvar_vector generalized_Ricker1(const dvector& x, const dvar_vector& x0, const dvar_vector& A, const dvar_vector& alpha) 
148  156 
{ 
...  ...  
162  170 
\param A ; differentiable scalar in a random effects model 
163  171 
\param alpha ; differentiable scalar in a random effects model 
164  172 
\return \f$ A(\frac{x}{x0}e^{(1.0\frac{x}{x0})})^{\alpha} \f$ 
173 
\ingroup ECOL 

165  174 
**/ 
166  175 
df1b2variable generalized_Ricker1(const double& x, const df1b2variable& x0, const df1b2variable& A, const df1b2variable& alpha) 
167  176 
{ 
...  ...  
176  185 
\param A ; differentiable scalar in a random effects model 
177  186 
\param alpha ; differentiable scalar in a random effects model 
178  187 
\return \f$ A(\frac{x}{x0}e^{(1.0\frac{x}{x0})})^{\alpha} \f$ 
188 
\ingroup ECOL 

179  189 
**/ 
180  190 
df1b2vector generalized_Ricker1(const dvector& x, const df1b2variable& x0, const df1b2variable& A, const df1b2variable& alpha) 
181  191 
{ 
...  ...  
190  200 
\param A ; differentiable scalar in a random effects model 
191  201 
\param alpha ; differentiable scalar in a random effects model 
192  202 
\return \f$ A(\frac{x}{x0}e^{(1.0\frac{x}{x0})})^{\alpha} \f$ 
Also available in: Unified diff