The distance vector is
This corresponds to a dependence direction vector (.,<): there is also a loop-carried data dependence in the inner loop.
((Note that it is possible for a dependence to exist without having a consistent dependence distance)).