8#ifndef POPULATION_DYNAMICS_AGE_SPECIFIC_SELECTIVITY_HPP
9#define POPULATION_DYNAMICS_AGE_SPECIFIC_SELECTIVITY_HPP
12#include "../../../common/fims_math.hpp"
13#include "../../../common/fims_vector.hpp"
48template <
typename Type>
92 double x_temp = fims_math::Value(
x);
105 double x_temp = fims_math::Value(
x);
108 return fims_math::inv_logit<Type>(
Definition fims_vector.hpp:27
The population dynamics of FIMS.
Definition catch_at_age.hpp:41
void clear_internal()
Clears the internal objects.
Definition rcpp_interface.hpp:236
Declares the SelectivityBase class which is the base class for all selectivity functors.
Age-specific selectivity calculated using one parameter per age bin.
Definition age_specific.hpp:49
size_t min_age
Minimum modeled age, used to map input age to logit_sel_at_age.
Definition age_specific.hpp:65
virtual const Type evaluate(const Type &x, size_t pos)
Calculates selectivity for an age using its age-specific parameter.
Definition age_specific.hpp:102
virtual const Type evaluate(const Type &x)
Calculates selectivity for an age using its age-specific parameter.
Definition age_specific.hpp:89
size_t n_ages
Stores the number of modeled age bins.
Definition age_specific.hpp:60
fims::Vector< Type > logit_sel_at_age
Stores the age-specific selectivity parameters on the logit scale.
Definition age_specific.hpp:55
Base class for all selectivity functors.
Definition selectivity_base.hpp:24