Go to the documentation of this file.00001 #include <admodel.h>
00002 #include <df1b2fun.h>
00003 #include <adrndeff.h>
00004
00005
00006
00014 dvariable HollingII(const double& x, const prevariable& alpha, const prevariable& h)
00015 {
00016 RETURN_ARRAYS_INCREMENT();
00017 dvariable y;
00018 y=alpha*x/(1.0+alpha*(h*x));
00019
00020 RETURN_ARRAYS_DECREMENT();
00021 return (y);
00022 }
00030 dvar_vector HollingII(const dvector& x, const prevariable& alpha, const prevariable& h)
00031 {
00032 RETURN_ARRAYS_INCREMENT();
00033 dvar_vector y;
00034 y=elem_div(alpha*x, 1.0+alpha*(h*x));
00035
00036 RETURN_ARRAYS_DECREMENT();
00037 return (y);
00038 }
00046 dvar_vector HollingII(const dvector& x, const dvar_vector& alpha, const prevariable& h)
00047 {
00048 RETURN_ARRAYS_INCREMENT();
00049 dvar_vector y;
00050 y=elem_div(elem_prod(alpha,x), 1.0+elem_prod(alpha, (h*x)));
00051
00052 RETURN_ARRAYS_DECREMENT();
00053 return (y);
00054 }
00055
00063 dvar_vector HollingII(const dvector& x, const prevariable& alpha, const dvar_vector& h)
00064 {
00065 RETURN_ARRAYS_INCREMENT();
00066 dvar_vector y;
00067 y=elem_div(alpha*x, 1.0+alpha*elem_prod(h,x));
00068
00069 RETURN_ARRAYS_DECREMENT();
00070 return (y);
00071 }
00079 dvar_vector HollingII(const dvector& x, const dvar_vector& alpha, const dvar_vector& h)
00080 {
00081 RETURN_ARRAYS_INCREMENT();
00082 dvar_vector y;
00083 y=elem_div(elem_prod(alpha,x), 1.0+elem_prod(alpha, elem_prod(h,x)));
00084
00085 RETURN_ARRAYS_DECREMENT();
00086 return (y);
00087 }
00088
00089
00097 df1b2variable HollingII(const double& x, const df1b2variable& alpha, const df1b2variable& h)
00098 {
00099 df1b2variable y;
00100 y=alpha*x/(1.0+alpha*(h*x));
00101
00102 return (y);
00103 }
00111 df1b2vector HollingII(const dvector& x, const df1b2variable& alpha, const df1b2variable& h)
00112 {
00113 df1b2vector y;
00114 y=elem_div(alpha*x, 1.0+alpha*(h*x));
00115
00116 return(y);
00117 }
00125 df1b2vector HollingII(const dvector& x, const df1b2vector& alpha, const df1b2variable& h)
00126 {
00127 df1b2vector y;
00128 y=elem_div(elem_prod(alpha,x), 1.0+elem_prod(alpha, (h*x)));
00129
00130 return(y);
00131 }
00132
00133
00134
00142 df1b2vector HollingII(const dvector& x, const df1b2variable& alpha, const df1b2vector& h)
00143 {
00144 df1b2vector y;
00145 y=elem_div(alpha*x, 1.0+alpha*elem_prod(h,x));
00146
00147 return(y);
00148 }
00156 df1b2vector HollingII(const dvector& x, const df1b2vector& alpha, const df1b2vector& h)
00157 {
00158 df1b2vector y;
00159 y=elem_div(elem_prod(alpha,x), 1.0+elem_prod(alpha, elem_prod(h,x)));
00160
00161 return(y);
00162 }
00163