Potentially calls doit()
.
as_expr(x, first_doit = TRUE)
# S3 method for caracas_symbol
as.expression(x, ...)
# S3 method for caracas_solve_sys_sol
as.expression(x, ...)
caracas_symbol
Try doit()
first
not used
if (has_sympy()) {
v <- vector_sym(2)
x <- as_expr(v)
x
y <- as.expression(v)
y
}
#> expression(matrix(c(v1, v2), nrow = 2))