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:
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')) |
Bug tracker:https://github.com/robinhankin/permutations/issues
Last updated 5 days agofrom:39eb59de79. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 18 2024 |
R-4.5-win | OK | Nov 18 2024 |
R-4.5-linux | OK | Nov 18 2024 |
R-4.4-win | OK | Nov 18 2024 |
R-4.4-mac | OK | Nov 18 2024 |
R-4.3-win | OK | Nov 18 2024 |
R-4.3-mac | OK | Nov 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.Rnw
usingutils::Sweave
on Nov 18 2024.Last update: 2024-07-13
Started: 2017-09-21
Cyclists in the permutations package
Rendered fromcyclist.Rmd
usingknitr::rmarkdown
on Nov 18 2024.Last update: 2024-07-13
Started: 2021-05-24
Function as.function.permutation() in the permutations package: group actions
Rendered fromgroupaction.Rmd
usingknitr::rmarkdown
on 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.Rmd
usingknitr::rmarkdown
on Nov 18 2024.Last update: 2024-07-13
Started: 2022-05-25
Print methods in the permutations package
Rendered fromprint.Rmd
usingknitr::rmarkdown
on Nov 18 2024.Last update: 2024-07-13
Started: 2022-09-20
The permutations package and representation theory
Rendered fromrepresentation.Rmd
usingknitr::rmarkdown
on Nov 18 2024.Last update: 2024-07-13
Started: 2018-12-05
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 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 |
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 superflip W |
Plotting routine for megaminx sequences | megaminx_pentagons megaminx_plotter megaminx_quads megaminx_triangles |
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 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 print.cycle print.permutation print.word print_cycle print_word print_word_as_cycle |
Random permutations | r1cyc rcyc rcycle rgivenshape rgs1 rperm 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 | is.stabilizer stabilized stabilizer stabilizes |
Utilities to neaten permutation objects | tidy trim |
Functions to validate permutations | cyclist_valid singleword_valid valid validity |