/* * call-seq: * dvector.where_last_max -> int or nil * * Returns the index of the last entry with the maximum value in _dvector_. Returns <code>nil</code> if * _dvector_ is empty. * * a = Dvector[ 1, 2, 3, 4, 5, 4, 3, 5, 2 ] * a.where_last_max -> 7 * Dvector[].where_last_max -> nil */ VALUE dvector_where_last_max(VALUE ary) {