isinstance(e, cls) is Python's isinstance() for SymPy classes: whether
cls (a class name such as "Expr", "Atom", "Number", "Set",
"MatrixBase", or a vector of names, as a tuple of classes) is among the
classes of e. AppliedUndef is the class of an applied undefined
function, FunctionClass the class of a function such as Function("f").
RealNumber() is SymPy's alias of Float().
Arguments
- e
An object.
- cls
A character vector of class names.
- ...
Arguments of
Float().