mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-25 18:15:29 +01:00
FPSymbol inversion
This commit is contained in:
parent
e2585b5733
commit
1c638e296c
@ -94,6 +94,9 @@ end
|
||||
|
||||
(<=)(s::FPSymbol, t::FPSymbol) = s == t || s < t
|
||||
|
||||
|
||||
inv(s::FPSymbol) = change_pow(s, -s.pow)
|
||||
|
||||
function add_rel!{T<:FPSymbol}(G::FPGroup, w::GWord{T})
|
||||
if !(w in G.rels)
|
||||
push!(G.rels, w)
|
||||
|
Loading…
Reference in New Issue
Block a user