type t
The type of particles.
type field = float
The type of weights (as the name indicates, we expect it admits the structure of a field).
val weight : t -> field
weight p is the weight of particle p.
weight p
p