symbolicEqual
symbolicEqual(expr1, expr2)
symbolicEqual(expr1, expr2, options)
Returns true if the difference of the expressions simplifies to 0
Try it yourself:
$1 | symbolicEqual("x*y","y*x")
| |
$2 | symbolicEqual("abs(x^2)", "x^2")
| |
$3 | symbolicEqual("abs(x)", "x", {context: {abs: {trivial: true}}})
|
See also:
All functions