R/tensor-can.R
perm_af_direct_product.Rd
Port of SymPy's perm_af_direct_product(). With signed = TRUE the last two points of each array form carry the sign.
perm_af_direct_product()
signed = TRUE
perm_af_direct_product(gens1, gens2, signed = TRUE)
Lists of array forms.
Whether the permutations are signed.
A list of array forms.
perm_af_direct_product(list(c(1, 0, 2, 3), c(0, 1, 3, 2)), list(c(1, 0)), FALSE) #> [[1]] #> [1] 1 0 2 3 4 5 #> #> [[2]] #> [1] 0 1 3 2 4 5 #> #> [[3]] #> [1] 0 1 2 3 5 4 #>