[math-fun] need density definition