abelianize {freealg} | R Documentation |
Abelianize a freealg
object
Description
Function abelianize()
returns a freealg
object that is
equivalent to its argument under assumption of Abelianness. The symbols
are placed in alphabetical order.
Usage
abelianize(x)
Arguments
x |
A |
Details
Abelianizing a free group element means that the symbols can commute past one another. Abelianization is vectorized.
Value
Returns an object of class freealg
.
Note
There is a very similar function in the freegroup package.
Author(s)
Robin K. S. Hankin
Examples
abelianize(as.freealg("ba + 2abbba + 3abAB"))
abelianize(.[rfalg(),rfalg()])
[Package freealg version 1.1-1 Index]