Domain of all objects of basic type
Dom::Expression comprises all objects only consisting of operands of built-in types.
Dom::Expression is a façade domain: it has no domain elements, but uses system representation.
Unlike Dom::ExpressionField, Dom::Expression does not belong to any arithmetical category, and its elements need not be arithmetical expressions.
Dom::Expression mainly serves as a super-domain to Dom::ArithmeticalExpression; it rarely makes sense to use it directly.
Almost every MuPAD® object can be converted to an expression. Objects of basic type are expressions.
Dom::Expression([3, array(1..2), rectform(exp(I))])
The convert method flattens its argument: hence expression sequences are not allowed.
Error: The number of arguments is incorrect. [expr] Evaluating: Dom::Expression::new
An object of basic type consisting only of operands of built-in types, or any other object convertible to such using expr.
This method overloads testtype; since Dom::Expression has no domain elements, the overloading can only be caused by the second argument.
subs(x, s, …)
subsex(x, s, …)