computes Simpson index from a distribution (faster than version implemented in vegan package)

get_Simpson(Distrib)

Arguments

Distrib

Distribution

Value

Simpson index correspnding to the distribution