mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-11-19 06:30:29 +01:00
reduce defaults to freereduce now
This commit is contained in:
parent
8abebbbd0c
commit
8688d42250
@ -165,16 +165,16 @@ function freereduce!(w::GWord)
|
|||||||
return w
|
return w
|
||||||
end
|
end
|
||||||
|
|
||||||
|
reduce!(w::GWord) = freereduce!(w)
|
||||||
|
|
||||||
@doc doc"""
|
@doc doc"""
|
||||||
reduce(W::GWord)
|
reduce(w::GWord)
|
||||||
> performs reduction/simplification of a group element (word in generators).
|
> performs reduction/simplification of a group element (word in generators).
|
||||||
> The default reduction is the free group reduction, i.e. consists of
|
> The default reduction is the free group reduction
|
||||||
> multiplying adjacent symbols with the same `id` identifier and deleting the
|
|
||||||
> identity elements from `W.symbols`.
|
|
||||||
> More specific procedures should be dispatched on `GWord`s type parameter.
|
> More specific procedures should be dispatched on `GWord`s type parameter.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
reduce(W::GWord) = reduce!(deepcopy(W))
|
reduce(w::GWord) = reduce!(deepcopy(w))
|
||||||
|
|
||||||
@doc doc"""
|
@doc doc"""
|
||||||
gens(G::AbstractFPGroups)
|
gens(G::AbstractFPGroups)
|
||||||
|
Loading…
Reference in New Issue
Block a user