R/dualsyt.R

Defines functions dualsyt .dualsyt

Documented in dualsyt

.dualsyt <- function(syt){
  .matrix2syt(t(as.matrix(.syt2matrix(syt))))
}

#' Dual tableau
#' @description The dual standard Young tableau of a standard Young tableau.
#'
#' @param syt standard Young tableau
#'
#' @return A standard Young tableau.
#' @export
#'
#' @examples
#' syt <- list(c(1,2,6), c(3,5), 4)
#' dualsyt(syt)
dualsyt <- function(syt){
  checkSYT(syt)
  lapply(.dualsyt(syt), as.integer)
}

Try the syt package in your browser

Any scripts or data that you put into this service are public.

syt documentation built on Jan. 16, 2021, 5:19 p.m.