abelianize: Abelianize a 'freealg' object

abelianizeR 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 freealg object

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()])


freealg documentation built on March 31, 2023, 7:13 p.m.