/* * call-seq: * dvector.remainder!(number) -> dvector * dvector.remainder!(other) -> dvector * * When the argument is a number, this operation replaces with each entry x of _dvector_ by the remainder of x divided by _number_. * When the argument is a vector, this operation replaces with each entry x of _dvector_ * by remainder of x divided by the corresponding entry in the _other_ vector. * * a = Dvector[ 11, -5, 2 ] * a.remainder!(3) -> Dvector[ 2, -2, 2 ] * a -> Dvector[ 2, -2, 2 ] * a = Dvector[ 11, -5, 2 ] * b = Dvector[ 2, 3, 5 ] * a.remainder!(b) -> Dvector[ 1, -2, 2 ] * a -> Dvector[ 1, -2, 2 ] */ VALUE dvector_remainder_bang(VALUE ary, VALUE arg) {