Abstract
We define the diversity function and analyze its limiting behavior which results in two important design criteria: the diversity product and the diversity sum. Numerical methods are derived which allows one to construct codes with excellent diversity function and excellent diversity product and sum.