abelianize | R Documentation |
freealg
objectFunction abelianize()
returns a freealg
object that is
equivalent to its argument under assumption of Abelianness. The symbols
are placed in alphabetical order.
abelianize(x)
x |
A |
Abelianizing a free group element means that the symbols can commute past one another. Abelianization is vectorized.
Returns an object of class freealg
.
There is a very similar function in the freegroup package. However, the frab package is the best way to work with the free Abelian group.
Robin K. S. Hankin
abelianize(as.freealg("ba + 2abbba + 3abAB"))
abelianize(.[rfalg(),rfalg()])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.