/* * call-seq: * dvector.reverse_each2_with_index {|x,y,index| block } -> dvector * * Same as <code>Dvector#each2_with_index</code>, but traverses the vectors in reverse * order. * * a = Dvector[ 1, 0, -1 ] * b = Dvector[ 3, 4, 5 ] * a.reverse_each2_with_index(b) {|x,y,i| print "(", x ",", y, "," i, ") " } * * produces: * * (-1,5,2) (0,4,1) (1,3,0) */ VALUE dvector_reverse_each2_with_index(VALUE ary, VALUE ary2) {