LeafCount - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


MmaTranslator[Mma]

  

LeafCount

  

return the total number of indivisible expressions

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

LeafCount(arguments)

Parameters

arguments

-

Maple translation of the Mathematica command arguments

Description

• 

The LeafCount command returns the total number of indivisible subexpressions in the specified expression.

Examples

withMmaTranslatorMma:

Use the command with the Maple translation.

LeafCountab+c

4

(1)

Alternatively, you can use the FromMma command with the evaluate option specified.

withMmaTranslator:

FromMma`LeafCount[a[b + c]]`,evaluate

4

(2)

See Also

MmaTranslator

MmaTranslator[FromMma]

MmaTranslator[Mma]