Package: permutations 1.1-5

Robin K. S. Hankin

permutations: The Symmetric Group: Permutations of a Finite Set

Manipulates invertible functions from a finite set to itself. Can transform from word form to cycle form and back. To cite the package in publications please use Hankin (2020) "Introducing the permutations R package", SoftwareX, volume 11 <doi:10.1016/j.softx.2020.100453>.

Authors:Robin K. S. Hankin [aut, cre], Paul Egeler [ctb]

permutations_1.1-5.tar.gz
permutations_1.1-5.tar.gz(r-4.5-noble)permutations_1.1-5.tar.gz(r-4.4-noble)
permutations_1.1-5.tgz(r-4.4-emscripten)permutations_1.1-5.tgz(r-4.3-emscripten)
permutations.pdf |permutations.html
permutations/json (API)
NEWS

# Install 'permutations' in R:
install.packages('permutations', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/robinhankin/permutations/issues

Datasets:

122 exports 1.08 score 16 dependencies 2 dependents 1 mentions 48 scripts 530 downloads

Last updated 2 months agofrom:7cd78d9242. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKSep 16 2024
R-4.5-linuxOKSep 16 2024

Exports:%~%addcolsall_cyclic_shufflesall_perms_shapeallcycallcycnallpermsallpermslikeare_conjugateare_conjugate_singleas.character_cyclistas.character.cycleas.cycleas.function.permutationas.matrix.wordas.wordc.cyclec.wordcapplycayleyccpschar2cyclechar2cyclist_singlecommutatorconjugationcyc_lencyclecycle_plus_integer_elementwisecycle_powercycle_power_singlecycle_sumcycle_sum_singlecycle2wordcyclist_validcyclist2word_singledodecahedron_edgedodecahedron_facefarofaro_genfbinfbin_invfbin_singlefixedfixed.cyclefixed.wordfull_dodecahedron_edgefull_dodecahedron_faceget_cycget1helperidinverseinverse_cyclist_singleinverse_word_singleinverse.cycleinverse.wordis.cycleis.derangementis.evenis.idis.id_single_cycleis.id.cycleis.id.listis.id.wordis.oddis.perm_matrixis.permutationis.wordlength.wordlength<-.permutationmegaminx_plotternames.wordnames<-.wordnicify_cyclistnullcyclenullwordOps.permutationorbitorbit_singleouterpadshapeperm_matrixpermorderpermprodpermutationpm_to_permprint_cycleprint_wordprint.cycleprint.wordr1cycrcycremove_length_onerep.permutationrgivenshapergs1rpermsgnshapeshape_cyclistshapepartshapepart_cyclistshift_cyclesingleword_validsizesize.cyclesize.wordsize<-size<-.cyclesize<-.wordsome_perms_shapestandardstandard_cyclisttidytrimvec2cyclist_singlevec2cyclist_single_cppvpswordword_equalword_prodword_prod_single

Dependencies:abinddigestdisordRfreealggmplatticemagicmathjaxrMatrixnumberspartitionspolynomrbibutilsRcppRdpacksets

a vignette for the permutations package

Rendered frompermutations.Rnwusingutils::Sweaveon Sep 16 2024.

Last update: 2024-07-18
Started: 2016-01-20

Cyclists in the permutations package

Rendered fromcyclist.Rmdusingknitr::rmarkdownon Sep 16 2024.

Last update: 2024-07-18
Started: 2023-02-21

The permutation group: active and passive permutations, and the order of operations

Rendered fromorder_of_ops.Rmdusingknitr::rmarkdownon Sep 16 2024.

Last update: 2024-07-18
Started: 2023-02-21

Print methods in the permutations package

Rendered fromprint.Rmdusingknitr::rmarkdownon Sep 16 2024.

Last update: 2024-07-18
Started: 2023-02-21

The permutations package and representation theory

Rendered fromrepresentation.Rmdusingknitr::rmarkdownon Sep 16 2024.

Last update: 2024-07-18
Started: 2023-02-21

Readme and manuals

Help Manual

Help pageTopics
The Symmetric Group: Permutations of a Finite Setpermutations-package permutations
All permutations with given characteristicsallcyc allcycles allcycn allperms allpermslike all_cyclic_shuffles all_perms_shape some_perms_shape
Coerce a permutation to a functionas.function.cycle as.function.permutation as.function.word
Concatenation of permutationsc c.cycle c.word rep.permutation
Apply functions to elements of a cyclecapply
Cayley tables for permutation groupsCayley cayley
Group-theoretic commutator: the dot object. commutator dot dot-class dot_error extract jacobi permutation-class [,dot,ANY,ANY-method [,dot,ANY,missing-method [,dot,matrix,matrix-method [,dot,missing,ANY-method [,dot,missing,missing-method [,dot,permutation,permutation,ANY-method [,dot,permutation,permutation-method [,dot-method [.dot
Are two permutations conjugate?%~% %~%.permutation are_conjugate are_conjugate_single conjugate
details of cyclistschar2cyclist_single cyclist cyclist2word_single nicify nicify_cyclist remove_length_one vec2cyclist_single vec2cyclist_single_cpp
Tests for a permutation being a derangementderangement is.derangement
The dodecahedron groupdodecahedron dodecahedron_edge dodecahedron_face full_dodecahedron_edge full_dodecahedron_face
Faro shufflesfaro faro_gen riffle shuffle
The fundamental bijectionfbin fbin_inv fbin_single standard standard_cyclist
Fixed elementsfixed fixed.cycle fixed.word
Retrieve particular cycles or components of cyclesget1 get_cyc
The identity permutationid is.id is.id.cycle is.id.list is.id.word is.id_single_cycle
Inverse of a permutationinverse inverse.cycle inverse.word inverse_cyclist_single inverse_word_single
Various vector-like utilities for permutation objects.length.permutation length.word length<-.permutation names names.word names<-.word
megaminxDB DG DY Gy LB LG LY megaminx megaminx_colours O Pi Pu R superflip W
Plotting routine for megaminx sequencesmegaminx_pentagons megaminx_plotter megaminx_quads megaminx_triangles
Null permutationsnullcycle nullperm nullword
Arithmetic Ops Group Methods for permutationsccps conjugation cycle_plus_integer_elementwise cycle_power cycle_power_single cycle_sum cycle_sum_single helper Ops Ops.permutation Ops.permutations permprod vps word_equal word_prod word_prod_single
Orbits of integersorbit orbit_single
Outer product of vectors of permutationsouter outer,permutation,permutation-method outer.cycle outer.permutation outer.word
Permutation matricesas.perm_matrix is.perm_matrix permmatrix permutation_matrix perm_matrix pm_to_perm
The order of a permutationpermorder
Functions to create and coerce word objects and cycle objectsas.cycle as.matrix as.matrix.word as.word char2cycle cycle cycle2word cyc_len is.cycle is.permutation is.word permutation shift_cycle word
Print methods for permutation objectsas.character.cycle as.character_cyclist print.cycle print.permutation print.word print_cycle print_word print_word_as_cycle
Random permutationsr1cyc rcyc rcycle rgivenshape rgs1 rperm rword
Sign of a permutationis.even is.odd sgn
Shape of a permutationcycletype cycle_type padshape shape shapepart shapepart_cyclist shape_cyclist
Gets or sets the size of a permutationaddcols size size.cycle size.word size<- size<-.cycle size<-.word
Utilities to neaten permutation objectstidy trim
Functions to validate permutationscyclist_valid singleword_valid valid validity