Bill Allombert on Fri, 14 Jun 2024 13:10:31 +0200


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

Re: factor(3*x) = x ?!!


On Fri, Jun 14, 2024 at 09:35:30AM +0200, tony.reix@laposte.net wrote:
> Hello,
> 
> Is that a bug or a feature ?

Fundamentally, PARI was designed for univariate polynomial rings over a field.
They have the property to form an Euclidean domain, so standard Euclid
algorithm applies to a lot of operation (but not factor).

However, factor still generally assume you want to factor univariate polynomial
over a field and will omit the unit.

You can use factorback to recover it.

Cheers,
Bill.