Compute biomass from a matrix of NAA and a set of demographic parameters. This computes the sum of male and female biomass across all age classes. For mature female biomass, see `compute_ssb`.

compute_bio(naa, dem_params)

Arguments

naa

numbers-at-age matrix [nyears, nages, nsexes, nregions]

dem_params

demagraphic parameters list