R/sym_symbol.R
symbol.Rd
Find available assumptions at https://docs.sympy.org/latest/modules/core.html#module-sympy.core.assumptions.
symbol(x, ...)
Name to turn into symbol
Assumptions like positive = TRUE
positive = TRUE
A caracas_symbol
caracas_symbol
as_sym()
if (has_sympy()) { x <- symbol("x") 2*x x <- symbol("x", positive = TRUE) ask(x, "positive") } #> [1] TRUE