Skip to contents

The hook of a cell is the cell itself, everything to its right in the row, and everything below it in the column: \(h(i,j) = \lambda_i - j + \lambda'_j - i + 1\).

Usage

morie_hook_lengths(shape)

Arguments

shape

Integer vector, weakly decreasing, all parts positive.

Value

A list with hooks (a list of integer vectors, row-major), product, shape, conjugate, n.

References

Frame JS, Robinson G de B, Thrall RM (1954) Canad J Math 6:316-324.

Examples

morie_hook_lengths(shape = 5L)
#> $hooks
#> $hooks[[1]]
#> [1] 5 4 3 2 1
#> 
#> 
#> $product
#> [1] 120
#> 
#> $shape
#> [1] 5
#> 
#> $conjugate
#> [1] 1 1 1 1 1
#> 
#> $n
#> [1] 5
#>