Ilya Zakharevich on Wed, 4 Dec 2002 12:35:52 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: gp: divrem([],[]) ?


On Wed, Dec 04, 2002 at 08:41:03PM +0100, Bill Allombert wrote:
> > ? divrem([1],[1])
> >   ***   forbidden division t_INT \ t_VEC.
> 
> Because divrem make the division for each element of the array at the left:

And *please* do not make it do the same on the right; the vector as
the second argument should work as remainder modulo ideal (when we
have multidim polynomial arithmetic).

Ilya