functiondensity

Return density from state