Skip to content

documentation for factoring is misleading/unspecific #811

Description

@tthsqe12

The documentation for the factoring functions reads something like "Factorises a non-constant polynomial ..." but it does not say what it does with the factorization, and it is unfortunate to find out the actual behaviour is the following only by trial and error

factor_init(f)
factor(f, a)
/* f is now a factorization of a */
factor(f, b)
/* f is now a factorization of a*b !!! */

Furthermore, the nonsense is compounded by the fact that the factors are inserted via a slow quadratic insertion sort.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions