rfree {freegroup}R Documentation

Random free objects

Description

Creates a vector of random free objects. Intended as a quick “get you going” example of free group objects

Usage

rfree(n=7, size=4, number = size, powers = seq(from = -size, to = size))

Arguments

n

Length of random vector to generate

size

Maximum length of each element

number

How many distinct letters to sample from

powers

Powers in resulting polynomial. An integer n is interpreted (via sample()) as seq_len(n)

Details

The auxiliary arguments specify the general complexity of the returned object with small meaning simpler.

Author(s)

Robin K. S. Hankin

See Also

size

Examples


rfree()

abelianize(rfree())

rfree(10,2)
rfree(10,30,26)

rfree(powers=5)
rfree(powers=5:6)

rfree(20,2)^alpha(26)


[Package freegroup version 1.1-8 Index]