10#ifndef POPULATION_DYNAMICS_MATURITY_LOGISTIC_HPP
11#define POPULATION_DYNAMICS_MATURITY_LOGISTIC_HPP
23template <
typename Type>
63 virtual const Type
evaluate(
const Type& x,
size_t pos) {
65 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.
Declares the MaturityBase class which is the base class for all maturity functors.
The population dynamics of FIMS.
Definition catch_at_age.hpp:45
fims::Vector< Type > slope
How quickly the proportion mature changes with age around the inflection point, per year of age....
Definition logistic.hpp:35
fims::Vector< Type > inflection_point
The age at which 50% of fish are mature for models that start at age zero and each age bin represents...
Definition logistic.hpp:29
virtual const Type evaluate(const Type &x)
Method of the logistic maturity class that implements the logistic function from FIMS math.
Definition logistic.hpp:49
virtual const Type evaluate(const Type &x, size_t pos)
Method of the logistic maturity class that implements the logistic function from FIMS math.
Definition logistic.hpp:63
MaturityBase()
Constructor.
Definition maturity_base.hpp:33