Arithmetic, comparison and logic operators for symbolic expressions
Source:R/ops.R
sym-operators.Rd+, -, *, /, ^, %% and %/% build canonical symbolic
expressions. == and != test structural equality, as in SymPy; use
Eq() for a symbolic equation. <, <=, > and >= return TRUE or
FALSE when the answer is decidable and an unevaluated relational
otherwise. &, | and ! build logical expressions.
Usage
# S3 method for class 'sym'
Ops(e1, e2)
# S3 method for class 'sym'
Math(x, ...)
# S3 method for class 'sym'
Summary(..., na.rm = FALSE)
# S3 method for class 'sym'
Complex(z)Arguments
- e1, e2
Operands; at least one is a
sym.- x
A
symexpression.- ...
Further arguments, such as
baseforlog().- na.rm
Ignored.
- z
A
symexpression.