Computation with respect to r