rfalg: Random free algebra objects

Description Usage Arguments Details Author(s) Examples

Description

Random elements of the free algebra, intended as quick “get you going” examples of freealg objects

Usage

1
rfalg(n=7, distinct=3, maxsize=4, include.negative=FALSE)

Arguments

n

Number of terms to generate

distinct

Number of distinct symbols to use

maxsize

Maximum number of symbols in any word

include.negative

Boolean, with default FALSE meaning to use only positive symbols (lower-case letters) and TRUE meaning to use upper-case letters as well, corresponding to the inverse of the lower-case symbols

Details

What you see is what you get, basically. A term such as aaBaAbaC will be simplified to aaaC.

Author(s)

Robin K. S. Hankin

Examples

1
2
3
4

freealg documentation built on Nov. 19, 2021, 9:07 a.m.