MathTop

testeq 函数

检验等式两边化简后是否为同一表达式。

语法

  • testeq(equation)

参数与选项

equation使用 = 写出的等式。

示例

  1. 恒等式检验testeq(sin(x)^2 + cos(x)^2 = 1)返回 true。