Andrew Lelechenko on Mon, 06 Aug 2012 17:46:02 +0200


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

Re: How to factor integer over Z[i]?


Thank you for the quick answer.

So there is no general way to mark a real argument as the complex number?

The behaviour of Zi_Z_factor(n) is quite confusing sometimes:

? Zi_Z_factor(1)
%15 =
[1 1]
instead of [;] as usual factor() does.

? Zi_Z_factor(25)
time = 0 ms.
%20 =
[     -1 1]
[  2 + I 2]
[1 + 2*I 2]

instead of expected
[1 - 2*I 2]
[1 + 2*I 2]

-- 
C ÑÐÐÐÐÐÐÐÐ,
ÐÐÐÑÐÐ