Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
azoviktor committed Nov 28, 2023
1 parent 13bde00 commit e80dc6b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/deck_transformations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ function symmetries_fixing_parameters!(
end

"""
symmetries_fixing_parameters(F::System; degree_bound=1, param_dep=true)
symmetries_fixing_parameters(F::System; degree_bound=1, param_dep=true, kwargs...)
Given a polynomial system F returns the group of symmetries
of `F` that fix the parameters. The keyword
Expand Down
19 changes: 9 additions & 10 deletions src/scalings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -206,27 +206,26 @@ function _hnf_reduce(grading::Grading{Tv,Ti}) where {Tv<:Integer,Ti<:Integer}
end

"""
scaling_symmetries(F::System; in_hnf=true)
scaling_symmetries(F::System)
Given a polynomial system `F` returns the group of scaling symmetries
of `F`.
of `F`. The scalings that change the parameters are considered as well.
```julia-repl
julia> @var x y z a b;
julia> @var x y a b c;
julia> F = System([x^4 + y^2 + 1, z + a*b]);
julia> F = System([x^4+a^2+1, y^2+b+c]; variables=[x, y], parameters=[a,b,c]);
julia> scaling_symmetries(F)
ScalingGroup isomorphic to ℤ² × ℤ₄ × ℤ₂
2 free scalings:
a ↦ a*λ₁, z ↦ z*λ₁
b ↦ b*λ₂, z ↦ z*λ₂
ScalingGroup isomorphic to ℤ × ℤ₄ × ℤ₂
1 free scaling:
y ↦ y*λ, b ↦ b*λ^2, c ↦ c*λ^2
modular scalings:
1 of order 4:
aa*ω₄, b ↦ b*ω₄^2, xx*ω₄^3, yy*ω₄^2, zz*ω₄^3
xx*ω₄^3, yy*ω₄, bb*ω₄^2, cc*ω₄^2
1 of order 2:
a ↦ -a, x ↦ -x, y ↦ -y, z ↦ -z
x ↦ -x, y ↦ -y, a ↦ -a
```
"""
function scaling_symmetries(F::System)
Expand Down

0 comments on commit e80dc6b

Please sign in to comment.