powered by
Remove inner-most dimension
unbracket(x)
Array symbol to collapse dimension from
if (has_sympy()) { x <- as_sym(paste0("x", 1:3)) y <- as_sym("y") l <- list(x, y) l unbracket(l) }
Run the code above in your browser using DataLab