9#ifndef POPULATION_DYNAMICS_SELECTIVITY_LOGISTIC_HPP
10#define POPULATION_DYNAMICS_SELECTIVITY_LOGISTIC_HPP
28template <
typename Type>
72 virtual const Type
evaluate(
const Type &x,
size_t pos) {
74 slope.get_force_scalar(pos), x);
Definition fims_vector.hpp:27
A collection of mathematical functions used in FIMS.
const Type logistic(const Type &inflection_point, const Type &slope, const Type &x)
The general logistic function.
Definition fims_math.hpp:243
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.
LogisticSelectivity class that returns the logistic function value from fims_math.
Definition logistic.hpp:29
fims::Vector< Type > slope
How quickly selectivity changes with age around the inflection point, per year of age....
Definition logistic.hpp:42
virtual const Type evaluate(const Type &x)
Method of the logistic selectivity class that implements the logistic function from FIMS math.
Definition logistic.hpp:62
virtual const Type evaluate(const Type &x, size_t pos)
Method of the logistic selectivity class that implements the logistic function from FIMS math.
Definition logistic.hpp:72
fims::Vector< Type > inflection_point
The age at which 50% of fish are selected for models that start at age zero and each age bin represen...
Definition logistic.hpp:36
SelectivityBase()
Constructor.
Definition selectivity_base.hpp:34