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
type/function - check for a function
Calling Sequence
type(expr, function)
type(expr, function(vtype))
Parameters
expr
-
any expression
vtype
type
Description
The call type(expr, function) checks if expr is of the form name(args), where args is an expression sequence of zero or more items. Expressions of type function represent function calls. For more information, see function.
A mathematical "function" in Maple can be defined using a functional operator. Use these to define a function of a single variable, a multivariate function, or a vector function.
Note that in Maple it is the procedure type, rather than function type that corresponds to what you think of as a "mathematical function".
If the parameter vtype is given, then it also checks that each argument is of type vtype.
A "function" can also be something written in infix notation, for example,
type(a &q b, function);
This does not include the infix operators +, -, *, ^, ||, =, <, >, <=, >=, <>, .., ::, `and`, `implies`, `or`, and `xor`, but it does include @, @@, ., $, mod, union, intersect, minus, subset, &*, and all other operators starting with &.
Examples
See Also
function, functional operators, type, type/applied, type/evenfunc, type/oddfunc, type/procedure, type/structured
Download Help Document