R/lin-alg.R
vec.Rd
Stacks matrix to vector
vec(x)
Matrix
if (has_sympy()) { A <- as_sym(matrix(1:9, 3)) vec(A) } #> c: [1 2 3 4 5 6 7 8 9]ᵀ