oneFactor

8 views
Skip to first unread message

Ralf Hemmecke

unread,
Dec 30, 2019, 6:13:23 PM12/30/19
to fricas-devel
Does someone by chance know whether there is a function in FriCAS that
computes just ONE irreducible factor of a polynomial over K where K is a
finite field?

All I have found so far is ddfact.spad. But that does a full factorization.

Thanks in advance
Ralf

Waldek Hebisch

unread,
Jan 3, 2020, 2:22:39 PM1/3/20
to fricas...@googlegroups.com
AFAIK there is no such function. It would be easy to add function
that computes lowest degree factors. OTOH all reasonably efficient
methods will give you simultaneously all factors of given degree.
ANd spent at least some work on computing higher degree factors
(the trick to efficiency is to amortize work over sevaral
degrees).

Most efficient should be 'ffact.spad', but part of its efficiency
is use of efficient coefficient arithemtic and currently this
is implemented only for Z_p with p small enough that all
intermediate calculations can be done in machine arithmetic.

Method used in 'ffact.spad' (due to Kaltofen and Shoup) is
essentialy generic (general finite step need additonal trace
style step not present in current code), but one would need
create versions for other coeffienct (say using macros so that
each version could get needed optimizations) and provide a
bunch of needed subroutines.

If you do not care about efficiency, you can just throw out
unneded factors.

--
Waldek Hebisch
Reply all
Reply to author
Forward
0 new messages