Implementations of density evolution