On 10/3/11 7:08 AM, Sébastien Brisard wrote: > Hello, > I'm constantly facing the problem of multiplying a FieldElement by an > int. I think this is mathematically meaningful, since n.x = x + x + > ... + x (n times). I know the current trend is *not* to polute the > interface of a given class with many very specific methods, but I do > think that this one is essential. Should I add it to the interface of > FieldElement<T>? > Typical example of use: I'm doing some calcs on multivariate > polynomials with CM. The coefficients are FieldElement<T>, and the > polynomials are actually Taylor expansions. So, I'm basically trying > to compute (1+x)**n = 1+n*x+..., where x is a polynomial with T > coefficients. Hence multiplication by integers.
Fine by me. Phil > > Sébastien > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org