R/lin_alg.R
as_vec.Rd
Stacks matrix to vector
as_vec(x)
Matrix
if (has_sympy()) { A <- as_sym(matrix(1:9, 3)) as_vec(A) } #> c: ⎡1 2 3⎤ #> ⎢ ⎥ #> ⎢4 5 6⎥ #> ⎢ ⎥ #> ⎣7 8 9⎦