DoubleLogisticSelectivity class that returns the double logistic function value from fims_math.
More...
#include <double_logistic.hpp>
template<
typename Type>
struct fims_popdy::DoubleLogisticSelectivity< Type >
DoubleLogisticSelectivity class that returns the double logistic function value from fims_math.
◆ create_report_vectors()
◆ evaluate() [1/2]
Method of the double logistic selectivity class that implements the double logistic function from FIMS math.
\( \frac{1.0}{ 1.0 + exp(-1.0 * slope\_asc (x - inflection_point\_asc))}
\left(1.0-\frac{1.0}{ 1.0 + exp(-1.0 * slope\_desc (x -
inflection_point\_desc))} \right)\)
- Parameters
-
| x | The independent variable in the double logistic function (e.g., age or size in selectivity). |
Implements fims_popdy::SelectivityBase< Type >.
◆ evaluate() [2/2]
Method of the double logistic selectivity class that implements the double logistic function from FIMS math.
\( \frac{1.0}{ 1.0 + exp(-1.0 * slope\_asc_t (x -
inflection_point\_asc_t))} \left(1.0-\frac{1.0}{ 1.0 + exp(-1.0 *
slope\_desc_t (x - inflection_point\_desc_t))} \right)\)
- Parameters
-
| x | The independent variable in the double logistic function (e.g., age or size in selectivity). |
| pos | Position index, e.g., which year. |
Implements fims_popdy::SelectivityBase< Type >.
◆ get_report_vector_count()
◆ inflection_point_asc
50% quantile of the value of the quantity of interest (x) on the ascending limb of the double logistic curve; e.g. age at which 50% of the fish are selected
◆ inflection_point_desc
50% quantile of the value of the quantity of interest (x) on the descending limb of the double logistic curve; e.g. age at which 50% of the fish are selected
◆ slope_asc
scalar multiplier of difference between quantity of interest value (x) and inflection_point on the ascending limb of the double logistic curve
◆ slope_desc
scalar multiplier of difference between quantity of interest value (x) and inflection_point on the descending limb of the double logistic curve
The documentation for this struct was generated from the following file: