Karim Belabas on Mon, 19 Nov 2018 22:48:28 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: apply(sign,x) == x |
* Jacques Gélinas [2018-11-19 20:19]: > > returns the polynomial \sum f(a_i) x^i > > > Thanks for the explanation. This example could be added to ??apply > > > ? apply(x->x^2, 4*x^2 + 3*x + 2) > %3 = 16*x^2 + 9*x + 4 > ? apply(sign, 4*x^2 - 3*x + 2) > %4 = x^2 - x +1 > Done in master, I have reworded the documentation. Thanks for pointing out the unclear wording ! Cheers, K.B. -- Karim Belabas, IMB (UMR 5251) Tel: (+33) (0)5 40 00 26 17 Universite de Bordeaux Fax: (+33) (0)5 40 00 21 23 351, cours de la Liberation http://www.math.u-bordeaux.fr/~kbelabas/ F-33405 Talence (France) http://pari.math.u-bordeaux.fr/ [PARI/GP] `