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.
with⁡MmaTranslatorMma:
Use the command with the Maple translation.
LeafCount⁡a⁡b+c
4
Alternatively, you can use the FromMma command with the evaluate option specified.
with⁡MmaTranslator:
FromMma⁡`LeafCount[a[b + c]]`,evaluate
See Also
MmaTranslator
MmaTranslator[FromMma]
Download Help Document