return a sparse array for the CDF.