Compute max growth rate of a given set of values for a trait. This is the log of per-capita seed production (i.e., fitness).

max_growth_rate(trait_matrix, p)

Arguments

trait_matrix

A matrix of traits to compute maximum growth rate at (see trait_matrix)

p

Parameters object to use. Importantly, the strategy_default element gets used here.

Details

Only works in one dimension