tietze

0th

Percentile

Tietze form for free group objects

Translate an object of class free to and from Tietze form

Usage
# S3 method for free
tietze(x)
# S3 method for matrix
tietze(x)
vec_to_matrix(x)
Arguments
x

Object to be converted

Details

The Tietze form for a word is a list of integers corresponding to the symbols of the word; typically \(a=1,b=2\), etc. Negative integers represent the inverses of the symbols.

Function vec_to_free() is a low-level helper function that returns a two-row integer matrix. If given 0 or NULL, it returns a two-row, zero-column matrix.

Aliases
  • tietze
  • Tietze
  • tietze.matrix
  • tietze.free
  • vec_to_matrix
Examples
# NOT RUN {
tietze(rfree(10,3))

vec_to_matrix(c(1,3,-1,-1,-1,2))

as.free(list(c(1,1,8),c(2,-4,-4)))

all(as.free(tietze(abc(1:30)))== abc(1:30))

# }
Documentation reproduced from package freegroup, version 1.1-0, License: GPL-2

Community examples

Looks like there are no examples yet.