Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
stla committed Mar 26, 2024
1 parent 9337985 commit 4ff0472
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 22 deletions.
13 changes: 7 additions & 6 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
Package: braids
Title: The Braid Groups
Version: 0.0.0.9000
Authors@R:
c(
Version: 1.0.0
Authors@R: c(
person("Stéphane", "Laurent", , "laurent_step@outlook.fr", role = c("aut", "cre")),
person("Balazs", "Komuves", role = "cph", comment = "author of the Haskell library 'combinat'")
person("Balazs", "Komuves", role = "cph",
comment = "author of the Haskell library 'combinat'")
)
Description: Deals with the braid groups. Includes creation of some
specific braids, group operations, free reduction, and Bronfman
polynomials. Braid theory has applications in fluid mechanics and
quantum physics. The code is adapted from the 'Haskell' library 'combinat',
and is based on Birman and Brendle (2005) <doi/10.48550/arXiv.math/0409205>.
quantum physics. The code is adapted from the 'Haskell' library
'combinat', and is based on Birman and Brendle (2005)
<doi/10.48550/arXiv.math/0409205>.
License: GPL-3
URL: https://github.com/stla/braids
BugReports: https://github.com/stla/braids/issues
Expand Down
16 changes: 8 additions & 8 deletions R/braids.R
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,11 @@ braidPermutation <- function(braid) {
}

#' @title Double generator
#' @description Generator \code{sigma_{s,t}} in the Birman-Ko-Lee new
#' presentation. It twistes the strands \code{s} and \code{t} whie going over
#' all other strands (for \code{t=s+1}, this is \code{sigma_s}).
#' @description Generator \eqn{\sigma_{s,t}} in the Birman-Ko-Lee new
#' presentation. It twists the strands \code{s} and \code{t} while going over
#' all other strands (for \code{t=s+1}, this is \eqn{\sigma_s}).
#'
#' @param n number of strands, integer \code{>= 2}
#' @param n number of strands, integer \code{>=2}
#' @param s,t indices of two strands, \code{s < t}
#'
#' @return A \code{braid} object.
Expand Down Expand Up @@ -207,7 +207,7 @@ doubleSigma <- function(n, s, t) {
#' @description The (positive) half-twist of all the braid strands, usually
#' denoted by \eqn{\Delta}.
#'
#' @param n number of strands, integer \code{>= 2}
#' @param n number of strands, integer \code{>=2}
#'
#' @return A \code{braid} object.
#' @export
Expand All @@ -230,7 +230,7 @@ halfTwist <- function(n) {
#' @title Inner automorphism
#' @description The inner automorphism defined by
#' \eqn{\tau X = \Delta^{-1} X \Delta}, where \eqn{\Delta} is the
#' positive half-twist; it send each generator \eqn{\sigma_j} to
#' positive half-twist; it sends each generator \eqn{\sigma_j} to
#' \eqn{\sigma_{n-j}}.
#'
#' @param braid a \code{braid} object
Expand Down Expand Up @@ -523,7 +523,7 @@ permutationBraid <- function(perm) {
#' @title Positive braid words of given length
#' @description All positive braid words of the given length.
#'
#' @param n number of strands, positive integer \code{>= 2}
#' @param n number of strands, integer \code{>=2}
#' @param l length of the words
#'
#' @return A list of \code{braid} objects.
Expand Down Expand Up @@ -559,7 +559,7 @@ allPositiveBraidWords <- function(n, l) {
#' @title Braid words of given length
#' @description All braid words of the given length.
#'
#' @param n number of strands, positive integer \code{>= 2}
#' @param n number of strands, integer \code{>=2}
#' @param l length of the words
#'
#' @return A list of \code{braid} objects.
Expand Down
2 changes: 1 addition & 1 deletion man/allBraidWords.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/allPositiveBraidWords.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions man/doubleSigma.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/halfTwist.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/tau.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4ff0472

Please sign in to comment.