Package: permutations 1.1-9

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-9.tar.gz
permutations_1.1-9.zip(r-4.7)permutations_1.1-9.zip(r-4.6)permutations_1.1-9.zip(r-4.5)
permutations_1.1-9.tgz(r-4.6-any)permutations_1.1-9.tgz(r-4.5-any)
permutations_1.1-9.tar.gz(r-4.7-any)permutations_1.1-9.tar.gz(r-4.6-any)
permutations_1.1-9.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
permutations/json (API)
NEWS

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

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

Pkgdown/docs site:https://robinhankin.github.io

Datasets:

On CRAN:

Conda:

6.79 score 7 stars 3 packages 52 scripts 407 downloads 1 mentions 110 exports 15 dependencies

Last updated from:63d0cb7db0. Checks:7 WARNING, 1 ERROR, 1 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64WARNING179
source / vignettesERROR287
linux-release-x86_64WARNING184
macos-release-arm64WARNING145
macos-oldrel-arm64WARNING131
windows-develWARNING113
windows-releaseWARNING107
windows-oldrelWARNING111
wasm-releaseOK115

Exports:%~%addcolsall_cyclic_shufflesall_perms_shapeallcycallcycnallpermsallpermslikeare_conjugateare_conjugate_singleas.character_cyclistas.cycleas.functionas.function.permutationas.wordcapplycaydistcayleyccpschar2cyclechar2cyclist_singlecommutatorconjugationcyc_lencyclecycle_plus_integer_elementwisecycle_powercycle_power_singlecycle_sumcycle_sum_singlecycle2wordcyclist_validcyclist2word_singledoesnotmovefarofaro_genfbinfbin_invfbin_singlefixedget_cycget1helperidinverseinverse_cyclist_singleinverse_word_singleis.cycleis.derangementis.evenis.flipis.flip_pairis.idis.id_single_cycleis.oddis.perm_matrixis.permutationis.superflipis.wordkeepcycmegaminx_plotterncycnfixednicify_cyclistnmovednullcyclenullwordorbitorbit_singleouterpadshapeperm_matrixpermorderpermprodpermutationpm_to_permprint_cycleprint_wordprint.cycler1cycrcycremove_length_onergivenshapergs1rpermrpermmsgnshapeshape_cyclistshapepartshapepart_cyclistsingleword_validsizesize<-some_perms_shapestabilizerstabilizesstandardstandard_cyclistsum1swaptidytrimvec2cyclist_singlevec2cyclist_single_cppvpswordword_equalword_prodword_prod_single

Dependencies:abinddigestdisordRfreealggmplatticemagicMatrixnumberspartitionspolynomrbibutilsRcppRdpacksets

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 distancecaydist ncyc nfixed nmoved
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
Extract or Replace elements of permutation vectorsExtract Replace [.cycle [.permutation [.word [<- [<-.cycle [<-.permutation [<-.word
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 W
Plotting routine for megaminx sequencesmegaminx_pentagons megaminx_plotter megaminx_quads megaminx_triangles
The Megaminx Superflipedge_facets is.flip is.flip_pair is.flip_singleperm is.superflip megaminx_superflip superflip
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 sum.cycle sum.permutation sum1 sum_permutation_single 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 oneline print.cycle print.permutation print.word print_cycle print_oneline print_word print_word_as_cycle
Random permutationsr1cyc rcyc rcycle rgivenshape rgs1 rperm rpermm 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 permutationdoesnotmove is.stabilizer stabilized stabilizer stabilizes
Length-2 cycles; swap a pair of elementsswap
Utilities to neaten permutation objectstidy trim
Functions to validate permutationscyclist_valid singleword_valid valid validity