Skip to contents

This function calculates the steady state abundance by solving the transport equation with given growth and mortality rates. It sets up a tri-diagonal system and solves it.

Usage

get_steady_state_n(params, g, mu, D, N0)

Arguments

params

A MizerParams object

g

A matrix of growth rates (species x size)

mu

A matrix of mortality rates (species x size)

D

A matrix of diffusion rates (species x size)

N0

A vector with the abundance at the smallest size for each species

Value

A matrix with the steady state abundance