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
LargeExpressions[Veil] - hide a complicated expression
LargeExpressions[Unveil] - show a hidden complicated expression
Calling Sequence
Veil[K]( complicated_expression )
Unveil[K]( expressions_with_Ks, n )
LastUsed
Parameters
K
-
unassigned name to use as a label
complicated_expression
expression
expressions_with_Ks
expression that has been veiled
n
positive integer representing the level of unveiling, or infinity, meaning all levels
Description
During a long calculation, it is sometimes useful to explicitly control Maple evaluation of expressions by hiding their values under user-defined labels. This allows compact representation of the results as a computation sequence, generated from the natural hierarchy of the problem.
The Veil command is used to hide information, Unveil to reveal the hidden information. Both commands take an index that specifies the label to use; multiple labels can be present in an expression and manipulated independently. If no label is specified, is used.
You can use these commands as a functional argument to collect, replacing complicated coefficients in a sum of terms by simple labels.
The protected variable LastUsed contains a table of indices pointing to the last used label index in each variable.
Examples
Treat a polynomial in as a polynomial in with hidden coefficients depending on .
Create another sequence using different labels. Note that the table of last used indices is keyed by the label name (in this case C).
C(1) = 10 * x + 23 - 98 * z C(2) = 40 * x - 10 * z ** 2 + 7 * x * z + 61 * z + 4 * x ** 2 + 8 C(3) = 23 * x - 83 * x ** 2 * z - 29 * z ** 3 + 95 * z ** 2 - 50 * # x * z + 87 * x ** 3 + 11 * z - 10 * x ** 2 - 49 + 42 * x * z ** 2 C(4) = 40 * z ** 3 - 92 * x * z ** 2 - 47 * z ** 4 + 75 * x * z ** # 3 + 6 * x * z + 91 * z - 56 * x ** 3 * z + 68 + 22 * x ** 4 + 62 #* x ** 2 * z ** 2 - 81 * z ** 2 + 74 * x + 80 * x ** 2 - 82 * x ** # 2 * z C(5) = -1 - 44 * x + 44 * x ** 2 * z ** 3 - 95 * z + 10 * z ** 5 + # 51 * z ** 3 - 77 * z ** 2 + 73 * x ** 3 + 55 * x ** 4 * z + 7 * x # ** 5 + 75 * x ** 2 + 62 * x ** 3 * z ** 2 - 31 * z ** 4 + 17 * x #** 2 * z + 94 * x ** 4 - 87 * x * z - 71 * x ** 2 * z ** 2 - 72 * #x * z ** 4 - 37 * x * z ** 3 + 23 * x * z ** 2 - 97 * x ** 3 * z
The following Frobenius series solution to a differential equation has complicated coefficients, which obscure the structure of the solution.
Example based on content provided in Chapter 2 of Essential Maple 7.
See Also
CodeGeneration, collect, CompSeq, freeze, thaw
References
Corless, Robert M. Essential Maple 7. Springer-Verlag.
Download Help Document