9#ifndef POPULATION_DYNAMICS_SELECTIVITY_DOUBLE_LOGISTIC_HPP
10#define POPULATION_DYNAMICS_SELECTIVITY_DOUBLE_LOGISTIC_HPP
22template <
typename Type>
88 virtual const Type
evaluate(
const Type& x,
size_t pos) {
Definition fims_vector.hpp:27
A collection of mathematical functions used in FIMS.
const Type double_logistic(const Type &inflection_point_asc, const Type &slope_asc, const Type &inflection_point_desc, const Type &slope_desc, const Type &x)
The general double logistic function.
Definition fims_math.hpp:304
Establishes the FIMS Vector class.
The population dynamics of FIMS.
Definition catch_at_age.hpp:45
Declares the SelectivityBase class which is the base class for all selectivity functors.
DoubleLogisticSelectivity class that returns the double logistic function value from fims_math.
Definition double_logistic.hpp:23
virtual const Type evaluate(const Type &x, size_t pos)
Method of the double logistic selectivity class that implements the double logistic function from FIM...
Definition double_logistic.hpp:88
fims::Vector< Type > inflection_point_asc
The age at which the ascending limb is 0.5 for models that start at age zero and each age bin represe...
Definition double_logistic.hpp:30
fims::Vector< Type > slope_asc
How quickly selectivity rises on the ascending limb; larger values give a steeper,...
Definition double_logistic.hpp:37
fims::Vector< Type > slope_desc
How quickly selectivity falls on the descending limb; larger values give a steeper decline.
Definition double_logistic.hpp:51
fims::Vector< Type > inflection_point_desc
The age at which the descending limb is 0.5 for models that start at age zero and each age bin repres...
Definition double_logistic.hpp:44
virtual const Type evaluate(const Type &x)
Method of the double logistic selectivity class that implements the double logistic function from FIM...
Definition double_logistic.hpp:68
SelectivityBase()
Constructor.
Definition selectivity_base.hpp:34