/* * call-seq: * dvector.each_with_index {|x,index| block } -> dvector * * Same as <code>Dvector#each</code>, but passes the index of the element * in addition to the element itself. * */ VALUE dvector_each_with_index(VALUE ary) {