Skip to content

Commit

Permalink
commenting a new auxiliary function
Browse files Browse the repository at this point in the history
  • Loading branch information
pogudingleb committed Apr 9, 2024
1 parent 2fee195 commit e471b8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/parametrizations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ function crude_parent_ring_change(poly, new_ring, var_mapping)
return new_poly
end

# Reduces the parametric coefficients of a polynomial modulo
# a Groebner basis of an ideal in the parameter ring.
# Assumes that there is no division by zero
function normalize_coefficients(poly, coeff_relations)
res = zero(parent(poly))
for (c, m) in zip(coefficients(poly), monomials(poly))
Expand Down

0 comments on commit e471b8c

Please sign in to comment.