powered by
Calculates Simpson's index on probability vector \(p\)
Simpson(p)
Simpson's index
Probability vector \(x_s/n\)