MathTop

whattype 函数

返回表达式的基本类型名称。

语法

  • whattype(expr)

参数与选项

expr要变换或求值的表达式。

示例

  1. 幂表达式whattype(x^2)返回 power。