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:
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
- . - Group-theoretic commutator: the dot object
- DB - Megaminx
- DG - Megaminx
- dodecahedron_edge - The dodecahedron group
- dodecahedron_face - The dodecahedron group
- DY - Megaminx
- edge_facets - The Megaminx Superflip
- full_dodecahedron_edge - The dodecahedron group
- full_dodecahedron_face - The dodecahedron group
- Gy - Megaminx
- LB - Megaminx
- LG - Megaminx
- LY - Megaminx
- megaminx - Megaminx
- megaminx_colours - Megaminx
- O - Megaminx
- Pi - Megaminx
- Pu - Megaminx
- R - Megaminx
- superflip - The Megaminx Superflip
- W - Megaminx
Last updated from:63d0cb7db0. Checks:7 WARNING, 1 ERROR, 1 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | WARNING | 179 | ||
| source / vignettes | ERROR | 287 | ||
| linux-release-x86_64 | WARNING | 184 | ||
| macos-release-arm64 | WARNING | 145 | ||
| macos-oldrel-arm64 | WARNING | 131 | ||
| windows-devel | WARNING | 113 | ||
| windows-release | WARNING | 107 | ||
| windows-oldrel | WARNING | 111 | ||
| wasm-release | OK | 115 |
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 page | Topics |
|---|---|
| The Symmetric Group: Permutations of a Finite Set | permutations-package permutations |
| All permutations with given characteristics | allcyc allcycles allcycn allperms allpermslike all_cyclic_shuffles all_perms_shape some_perms_shape |
| Coerce a permutation to a function | as.function as.function.cycle as.function.permutation as.function.word |
| Concatenation of permutations | c c.cycle c.word rep.permutation |
| Apply functions to elements of a cycle | capply |
| Cayley distance | caydist ncyc nfixed nmoved |
| Cayley tables for permutation groups | Cayley 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 cyclists | char2cyclist_single cyclist cyclist2word_single nicify nicify_cyclist remove_length_one vec2cyclist_single vec2cyclist_single_cpp |
| Tests for a permutation being a derangement | derangement is.derangement |
| The dodecahedron group | dodecahedron dodecahedron_edge dodecahedron_face full_dodecahedron_edge full_dodecahedron_face |
| Extract or Replace elements of permutation vectors | Extract Replace [.cycle [.permutation [.word [<- [<-.cycle [<-.permutation [<-.word |
| Faro shuffles | faro faro_gen riffle shuffle |
| The fundamental bijection | fbin fbin_inv fbin_single standard standard_cyclist |
| Fixed elements | fixed fixed.cycle fixed.word |
| Retrieve particular cycles or components of cycles | get1 get_cyc |
| The identity permutation | id is.id is.id.cycle is.id.list is.id.word is.id_single_cycle |
| Inverse of a permutation | inverse inverse.cycle inverse.word inverse_cyclist_single inverse_word_single |
| Keep or discard some cycles of a permutation | keepcyc |
| Various vector-like utilities for permutation objects. | length.permutation length.word length<-.permutation names names.word names<-.word |
| megaminx | DB DG DY Gy LB LG LY megaminx megaminx_colours O Pi Pu R W |
| Plotting routine for megaminx sequences | megaminx_pentagons megaminx_plotter megaminx_quads megaminx_triangles |
| The Megaminx Superflip | edge_facets is.flip is.flip_pair is.flip_singleperm is.superflip megaminx_superflip superflip |
| Null permutations | nullcycle nullperm nullword |
| Arithmetic Ops Group Methods for permutations | ccps 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 integers | orbit orbit_single |
| Outer product of vectors of permutations | outer outer,permutation,permutation-method outer.cycle outer.permutation outer.word |
| Permutation matrices | as.perm_matrix is.perm_matrix permmatrix permutation_matrix perm_matrix pm_to_perm |
| The order of a permutation | permorder |
| Functions to create and coerce word objects and cycle objects | as.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 objects | as.character.cycle as.character_cyclist oneline print.cycle print.permutation print.word print_cycle print_oneline print_word print_word_as_cycle |
| Random permutations | r1cyc rcyc rcycle rgivenshape rgs1 rperm rpermm rword |
| Sign of a permutation | is.even is.odd sgn |
| Shape of a permutation | cycletype cycle_type padshape shape shapepart shapepart_cyclist shape_cyclist |
| Gets or sets the size of a permutation | addcols size size.cycle size.word size<- size<-.cycle size<-.word |
| Stabilizer of a permutation | doesnotmove is.stabilizer stabilized stabilizer stabilizes |
| Length-2 cycles; swap a pair of elements | swap |
| Utilities to neaten permutation objects | tidy trim |
| Functions to validate permutations | cyclist_valid singleword_valid valid validity |
