Search Results:

Showing results 1 to 10 of 3.


Function permutation [permutations v1.0-9]
keywords
symbmath
title
Functions to create and coerce word objects and cycle objects
description
Functions to create permutation objects. permutation is a virtual class.
Function size [permutations v1.0-9]
keywords
symbmath
title
Gets or sets the size of a permutation
description
The ‘size’ of a permutation is the cardinality of the set for which it is a bijection.
Function valid [permutations v1.0-9]
keywords
symbmath
title
Functions to validate permutations
description
Functions to validate permutation objects: if valid, return TRUE and if not valid, generate a warning() and return FALSE. Function singleword.valid() takes an integer vector, interpreted as a word, and checks that it is a permutation of seq_len(max(x)). Function cycle.valid() takes a cyclist and checks for disjoint cycles of strictly positive integers with no repeats.