Skip to content

Commit

Permalink
add formula for CalculateInitialNumbersAA()
Browse files Browse the repository at this point in the history
  • Loading branch information
Bai-Li-NOAA committed Aug 8, 2024
1 parent f0d4e76 commit 20d88a2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions inst/include/population_dynamics/population/population.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* File: population.hpp
/**
* \file population.hpp
*
* This File is part of the NOAA, National Marine Fisheries Service
* Fisheries Integrated Modeling System project. See LICENSE in the
Expand Down Expand Up @@ -194,6 +194,12 @@ struct Population : public fims_model_object::FIMSObject<Type> {
*
* @param i_age_year dimension folded index for age and year
* @param a age index
*
* ChatGPT:
* \f[
* \text{NAA}_{i,a,y} = \exp\left(\ln(\text{NAA}_{a})\right)
* \f]
*
*/
inline void CalculateInitialNumbersAA(
size_t i_age_year, size_t a) { // inline all function unless complicated
Expand Down

0 comments on commit 20d88a2

Please sign in to comment.