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
Neutral Operators (User-defined Operators)
Description
A neutral operator symbol is formed by the ampersand character & followed either by a valid Maple name, not containing ?, or by a sequence of one or more special characters. Here, a special character means a non-alphabetic, non-numeric character not equal to _ (the underscore character) and not in the exclusion list below. The two forms may not be mixed.
Excluded from &-names (following the &) are:
& | ( ) [ ] { } ; : ' ` # % \ <newline> <blank>
The following is a list of allowable special characters.
~ ! @ $ ^ * - + = " < > , . / ?
Neutral operators can be any length.
Neutral operators can be used as unary prefix operators, or infix binary operators, or as function calls. They generate function calls, with the name of the function the same as the name of the neutral operator.
With the exception of &*, the neutral operators all have the same precedence. The &* operator has lower strength. For more information about the precedence of neutral operators in relation to other operators, see operators/precedence.
Maple imposes no semantics on the neutral operators. The user may define manipulations on expressions containing such operators via Maple's interface to user-defined procedures for various standard library functions, including simplify, diff, series, evalf, and so on. (See the help descriptions for the appropriate library functions.)
Note: The neutral operators &*~ and &+~ are currently valid, so use of element-wise &* and &+ requires a space between the neutral operator and the tilde. (For example, (a &* ~ b) is element-wise &*, and (a &*~ b) is a use of the neutral operator &*~.)
Examples
See Also
define, operators/elementwise, operators/precedence
Download Help Document