Package: permutations 1.1-6

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-6.tar.gz
permutations_1.1-6.zip(r-4.5)permutations_1.1-6.zip(r-4.4)permutations_1.1-6.zip(r-4.3)
permutations_1.1-6.tgz(r-4.4-any)permutations_1.1-6.tgz(r-4.3-any)
permutations_1.1-6.tar.gz(r-4.5-noble)permutations_1.1-6.tar.gz(r-4.4-noble)
permutations_1.1-6.tgz(r-4.4-emscripten)permutations_1.1-6.tgz(r-4.3-emscripten)
permutations.pdf |permutations.html
permutations/json (API)
NEWS

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

Peer review:

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

Datasets:

On CRAN:

8.08 score 5 stars 2 packages 48 scripts 484 downloads 1 mentions 125 exports 16 dependencies

Last updated 5 days agofrom:39eb59de79. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 18 2024
R-4.5-winOKNov 18 2024
R-4.5-linuxOKNov 18 2024
R-4.4-winOKNov 18 2024
R-4.4-macOKNov 18 2024
R-4.3-winOKNov 18 2024
R-4.3-macOKNov 18 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.wordkeepcyclength.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_shapestabilizerstabilizesstandardstandard_cyclisttidytrimvec2cyclist_singlevec2cyclist_single_cppvpswordword_equalword_prodword_prod_single

Dependencies:abinddigestdisordRfreealggmplatticemagicmathjaxrMatrixnumberspartitionspolynomrbibutilsRcppRdpacksets

a vignette for the permutations package

Rendered frompermutations.Rnwusingutils::Sweaveon Nov 18 2024.

Last update: 2024-07-13
Started: 2017-09-21

Cyclists in the permutations package

Rendered fromcyclist.Rmdusingknitr::rmarkdownon Nov 18 2024.

Last update: 2024-07-13
Started: 2021-05-24

Function as.function.permutation() in the permutations package: group actions

Rendered fromgroupaction.Rmdusingknitr::rmarkdownon Nov 18 2024.

Last update: 2024-11-16
Started: 2024-11-16

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

Rendered fromorder_of_ops.Rmdusingknitr::rmarkdownon Nov 18 2024.

Last update: 2024-07-13
Started: 2022-05-25

Print methods in the permutations package

Rendered fromprint.Rmdusingknitr::rmarkdownon Nov 18 2024.

Last update: 2024-07-13
Started: 2022-09-20

The permutations package and representation theory

Rendered fromrepresentation.Rmdusingknitr::rmarkdownon Nov 18 2024.

Last update: 2024-07-13
Started: 2018-12-05

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 as.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
Keep or discard some cycles of a permutationkeepcyc
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
Stabilizer of a permutationis.stabilizer stabilized stabilizer stabilizes
Utilities to neaten permutation objectstidy trim
Functions to validate permutationscyclist_valid singleword_valid valid validity