Skip to content

Slow arithmetic in polynomial rings? #5483

@wdecker

Description

@wdecker

ping @fieker

The following computation came up in discussions with @pbelmans:

m = 13;
k = m-1;
n = m+1;
var = "c";
R, c = graded_polynomial_ring(QQ, var => 1:k; weights = 1:k);
@time inv_c = sum((-sum(c))^i for i in 1:n);
@time I = ideal(inv_c[n-k+1:n]);

The timings suggest that this can be done much faster in other systems.

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions