symbol {caracas} | R Documentation |
Create a symbol
Description
Find available assumptions at https://docs.sympy.org/latest/modules/core.html#module-sympy.core.assumptions.
Usage
symbol(x, ...)
Arguments
x |
Name to turn into symbol |
... |
Assumptions like |
Value
A caracas_symbol
See Also
Examples
if (has_sympy()) {
x <- symbol("x")
2*x
x <- symbol("x", positive = TRUE)
ask(x, "positive")
}
[Package caracas version 2.1.1 Index]