as_expr {caracas} | R Documentation |
Convert caracas object to R
Description
Potentially calls doit()
.
Usage
as_expr(x, first_doit = TRUE)
## S3 method for class 'caracas_symbol'
as.expression(x, ...)
## S3 method for class 'caracas_solve_sys_sol'
as.expression(x, ...)
Arguments
x |
caracas_symbol |
first_doit |
Try |
... |
not used |
Examples
if (has_sympy()) {
v <- vector_sym(2)
x <- as_expr(v)
x
y <- as.expression(v)
y
}
[Package caracas version 2.1.1 Index]