MmaTranslator[Mma]
LeafCount
return the total number of indivisible expressions
Calling Sequence
Parameters
Description
Examples
LeafCount(arguments)
arguments
-
Maple translation of the Mathematica command arguments
The LeafCount command returns the total number of indivisible subexpressions in the specified expression.
withMmaTranslatorMma:
Use the command with the Maple translation.
LeafCountab+c
4
Alternatively, you can use the FromMma command with the evaluate option specified.
withMmaTranslator:
FromMma`LeafCount[a[b + c]]`,evaluate
See Also
MmaTranslator
MmaTranslator[FromMma]
Download Help Document