/* * call-seq: * dvector.where_ne(number) -> int or nil * dvector.where_first_ne(number) -> int or nil * * Returns the index of the first entry in _dvector_ with value not equal to _number_, <code>nil</code> if * _dvector_ has no such entry. * * a = Dvector[ 1, 2, -3, 4, -5, 4, 3, -5, 2 ] * a.where_ne(1) -> 1 * Dvector[].where_ne(4) -> nil */ VALUE dvector_where_first_ne(VALUE ary, VALUE item) {