backwards {freegroup}R Documentation

Write free objects backwards

Description

Write free objects in reverse order

Usage

backwards(x)

Arguments

x

Object of class free

Note

Function backwards() is distinct from rev(), see examples.

Author(s)

Robin K. S. Hankin

Examples

abc(1:5)
backwards(abc(1:5))
rev(abc(1:5))

x <- rfree(10,5)
all(abelianize(x) == abelianize(backwards(x))) # should be TRUE

[Package freegroup version 1.1-8 Index]