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

Online Help

All Products    Maple    MapleSim


InertForm

  

ToMathContainer

  

puts an inert-form math expression into a MathContainer component

 

Calling Sequence

Parameters

Description

Package Usage

Examples

Compatibility

Calling Sequence

ToMathContainer( expr, container_name )

ToMathContainer( expr, container_name, inert=truefalse )

Parameters

expr

-

expression

container_name

-

string

Description

• 

The ToMathContainer command inserts the given expression into a MathContainer component.

• 

The expression is pre-formatted by calling InertForm:-Typeset. By default, inert substructures are displayed in gray. To show the expression so that it looks like an equivalent non-inert expression, use the option inert=false.

• 

For more details about the nature of inert form, see InertForm:-Parse.  For information on automatic simplification, refer to the Maple Expressions chapter of the Maple Programming Guide.

Package Usage

• 

This function is part of the InertForm package, so it can be used in the short form ToMathContainer(..) only after executing the command with(InertForm). However, it can always be accessed through the long form of the command by using InertForm[ToMathContainer](..).

Examples

Grading:-QuizSimplify the following expression:,1,`%*`8,`%/`%sqrt4,`%^`4,2,inertform=true

Simplify the following expression:

 =

InertForm:-ToMathContainer`%*`8,`%/`2,16,MathContainerANS,inert=false

Error, (in DocumentTools:-GetProperty) Attempted to retrieve property of unknown component MathContainerANS.

Compatibility

• 

The InertForm[ToMathContainer] command was introduced in Maple 2017.

• 

For more information on Maple 2017 changes, see Updates in Maple 2017.

See Also

DocumentTools

InertForm:-Parse

MathContainer

ProgrammingGuide/MapleExpressions