|
| Type | length_at_age (const Type &age) const |
| | Evaluate mean length at age.
|
| |
| Type | log_length_at_age (const Type &age) const |
| | Evaluate log mean length at age.
|
| |
| void | log_length_at_age_gradient (const Type &age, Type &d_log_laa_d_length_young, Type &d_log_laa_d_length_old, Type &d_log_laa_d_k) const |
| | Evaluate the gradient of log mean length at age with respect to the current natural-scale FIMS VonBertalanffySchnute parameterization.
|
| |
| void | log_length_at_age_logscale_gradient (const Type &age, Type &d_log_laa_d_log_length_young, Type &d_log_laa_d_log_length_old, Type &d_log_laa_d_log_k) const |
| | Evaluate the gradient of log mean length at age with respect to the log-scale FIMS VonBertalanffySchnute parameterization [log(mean_length_young), log(mean_length_old), log(growth_coefficient)].
|
| |
| Type | weight_at_age (const Type &age) const |
| | Evaluate mean weight at age via the length-weight relationship.
|
| |
| virtual const Type | evaluate (int year, const double &a) override |
| | Calculates the growth at the independent variable value.
|
| |
|
| GrowthBase () |
| | Constructor.
|
| |
|
uint32_t | GetId () const |
| | Getter that returns the unique id for parameters in the model.
|
| |
| bool | CheckDimensions (size_t actual, size_t expected) |
| | Check the dimensions of an object.
|
| |
| void | register_self (const uint32_t id) |
| | Registers a FIMSObject instance with the memory tracker.
|
| |
|
|
Type | mean_length_young = Type(0.0) |
| | Expected length at the first reference age.
|
| |
|
Type | mean_length_old = Type(0.0) |
| | Expected length at the second reference age.
|
| |
|
Type | growth_coefficient = Type(0.0) |
| | Growth coefficient.
|
| |
|
Type | reference_age_for_length_young = Type(0.0) |
| | First reference age for the length parameterization.
|
| |
|
Type | reference_age_for_length_old = Type(0.0) |
| | Second reference age for the length parameterization.
|
| |
|
Type | length_weight_a = Type(0.0) |
| | Coefficient in the length-weight relationship, W = a * L^b.
|
| |
|
Type | length_weight_b = Type(3.0) |
| | Exponent in the length-weight relationship, W = a * L^b.
|
| |
| uint32_t | id |
| |
| std::vector< Type * > | parameters |
| |
| std::vector< Type * > | random_effects_parameters |
| |
| std::vector< Type * > | fixed_effects_parameters |
| |
template<
typename Type>
struct fims_popdy::VonBertalanffySchnuteGrowth< Type >
VonBertalanffySchnute growth functor for length-at-age and weight-at-age.
Parameterization using length at two reference ages: L(a) = mean_length_young + (mean_length_old - mean_length_young) * (1 - exp(-growth_coefficient * (a - reference_age_for_length_young))) / (1 - exp(-growth_coefficient * (reference_age_for_length_old - reference_age_for_length_young)))
- Note
- Users can anchor at t0 by setting reference_age_for_length_young = 0 and mean_length_young = L(0). This is valid as long as reference_age_for_length_old > reference_age_for_length_young.