## Revision 596 trunk/contrib/ecolib/HollingIV.cpp

HollingIV.cpp (revision 596)
4 4

5 5
/*---------------------------------------------------------3rd variable is a scalar*/

6 6
/*---------------------------------------------2nd variable is a scalar*/

7
/**  function; scalar

7
/**  Holling Type IV function; scalar

8 8
\param x independent variable; data scalar

9 9
\param a ; differentiable scalar

10 10
\param b ; differentiable scalar

11 11
\param c ; differentiable scalar

12
\return  \f$\f$

12
\return  \f$\frac{ax^2}{b + cx + x^2} \f$

13 13
\ingroup ECOL

14 14
**/

15 15
dvariable HollingIV(const double& x,  const prevariable& a,  const prevariable& b,  const prevariable& c)

......
21 21
	RETURN_ARRAYS_DECREMENT();

22 22
	return (y);

23 23
}

24
/**  function; vectorized

24
/**  Holling Type IV function; vectorized

25 25
\param x independent variable; data vector

26 26
\param a ; differentiable scalar

27 27
\param b ; differentiable scalar

28 28
\param c ; differentiable scalar

29
\return  \f$\f$

29
\return  \f$\frac{ax^2}{b + cx + x^2} \f$

30 30
\ingroup ECOL

31 31
**/

32 32
dvar_vector HollingIV(const dvector& x,  const prevariable& a,  const prevariable& b,  const prevariable& c)

......
38 38
	RETURN_ARRAYS_DECREMENT();

39 39
    return (y);

40 40
}

41
/**  function; vectorized

41
/**  Holling Type IV function; vectorized

42 42
\param x independent variable; data vector

43 43
\param a ; differentiable vector

44 44
\param b ; differentiable scalar

45 45
\param c ; differentiable scalar

46
\return  \f$\f$

46
\return  \f$\frac{ax^2}{b + cx + x^2} \f$

47 47
\ingroup ECOL

48 48
**/

49 49
dvar_vector HollingIV(const dvector& x,  const dvar_vector& a,  const prevariable& b,  const prevariable& c)

......
56 56
    return (y);

57 57
}

58 58
/*---------------------------------------------2nd variable is a vector*/

59
/**  function; vectorized

59
/**  Holling Type IV function; vectorized

60 60
\param x independent variable; data vector

61 61
\param a ; differentiable scalar

62 62
\param b ; differentiable vector

63 63
\param c ; differentiable scalar

64
\return  \f$\f$

64
\return  \f$\frac{ax^2}{b + cx + x^2} \f$

65 65
\ingroup ECOL

66 66
**/

67 67
dvar_vector HollingIV(const dvector& x,  const prevariable& a,  const dvar_vector& b,  const prevariable& c)

......
73 73
	RETURN_ARRAYS_DECREMENT();

74 74
    return (y);

75 75
}

76
/**  function; vectorized

76
/**  Holling Type IV function; vectorized

77 77
\param x independent variable; data vector

78 78
\param a ; differentiable vector

79 79
\param b ; differentiable vector

80 80
\param c ; differentiable scalar

81
\return  \f$\f$

81
\return  \f$\frac{ax^2}{b + cx + x^2} \f$

82 82
\ingroup ECOL

83 83
**/

84 84
dvar_vector HollingIV(const dvector& x,  const dvar_vector& a,  const dvar_vector& b,  const prevariable& c)

......
92 92
}

93 93
/*---------------------------------------------------------3rd variable is a vector*/

94 94
/*---------------------------------------------2nd variable is a scalar*/

95
/**  function; vectorized

95
/**  Holling Type IV function; vectorized

96 96
\param x independent variable; data vector

97 97
\param a ; differentiable scalar

98 98
\param b ; differentiable scalar

99 99
\param c ; differentiable vector

100
\return  \f$\f$

100
\return  \f$\frac{ax^2}{b + cx + x^2} \f$

101 101
\ingroup ECOL

102 102
**/

103 103
dvar_vector HollingIV(const dvector& x,  const prevariable& a,  const prevariable& b,  const dvar_vector& c)

......
109 109
	RETURN_ARRAYS_DECREMENT();

110 110
    return (y);

111 111
}

112
/**  function; vectorized

112
/**  Holling Type IV function; vectorized

113 113
\param x independent variable; data vector

... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff