as_expr: Convert caracas object to R
Description
Potentially calls doit()
.
Usage
as_expr(x, first_doit = TRUE)# S3 method for caracas_symbol
as.expression(x, ...)
# S3 method for caracas_solve_sys_sol
as.expression(x, ...)
Arguments
- x
caracas_symbol
- first_doit
Try doit()
first
- ...
not used
Examples
Run this codeif (has_sympy()) {
v <- vector_sym(2)
x <- as_expr(v)
x
y <- as.expression(v)
y
}
Run the code above in your browser using DataLab