Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
MmaTranslator[FromMma] - convert Mathematica input into equivalent Maple input
convert/FromMma - convert Mathematica input into equivalent Maple input
Calling Sequence
FromMma(Mma_input, options)
convert(Mma_input, FromMma, options)
Parameters
Mma_input
-
Mathematica input; expressions or operations
options
(optional) keywords evaluate and/or quiet; evaluate translated Mathematica input and/or suppress warning messages
FromMma
literal name; FromMma
Description
The FromMma(Mma_input) calling sequence translates Mathematica input into its Maple input equivalent. This command helps Mathematica users learn Maple.
You can also use the Maplet application interface MmaTranslator[MmaToMaple] to translate Mathematica input and notebooks to Maple input and worksheets.
The FromMma(Mma_input) and convert(Mma_input, FromMma) calling sequences produce the same result.
If you are using the Maple command prompt, the Mathematica input to be translated Mma_input must be enclosed in double quotes (") or left single (`) quotes.
Note: The FromMma(Mma_input) calling sequence does not translate Mathematica programs or Mathematica comments enclosed by (* ... *). Some automatic simplifications, for example, 2+2 -> 4, are also unavoidable.
If you call FromMma(Mma_input) with no options specified, the Mathematica input is translated without performing the intended computation.
To evaluate the translation, specify the optional argument evaluate.
To suppress warning messages, specify the optional argument quiet.
Some Mathematica commands do not have an exact Maple equivalent; however, the translation can still be performed using the MmaTranslator[Mma] subpackage, which contains commands based on the existence of very similar Maple commands. For more information, see MmaTranslator[Mma].
Examples
The translation of Mathematica input considers the differences in the definitions of the mathematical functions.
Translate the Mathematica input defined above.
The FromMma( % ) command and the convert(%, FromMma) command are equivalent. They return the same results. Note also that the Mathematica input is translated, but not evaluated.
Produce a full evaluation of the above translation.
Alternatively, include the evaluate option to evaluate the translation in one step.
Apart from mathematical expressions, command operations can also be translated.
The following are plotting examples.
Generate the plot.
Most Mathematica plotting options have an equivalent Maple option. Consider the following example.
See Also
convert/FromMmaNotebook, MmaTranslator, MmaTranslator/exceptions, MmaTranslator[FromMmaNotebook], MmaTranslator[Mma], MmaTranslator[MmaToMaple], type/string, type/symbol
Download Help Document