R/lin-alg.R

matrix_.Rd

Symbolic matrix

matrix_(..., declare_symbols = TRUE)

Passed on to matrix()

matrix()

Passed on to as_sym() when constructing symbolic matrix

as_sym()

if (has_sympy()) { matrix_(1:9, nrow = 3) matrix_("a", 2, 2) } #> [caracas]: ⎡a a⎤ #> ⎢ ⎥ #> ⎣a a⎦