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
charfcn - characteristic function for expressions and sets
Calling Sequence
charfcn[A](x)
Parameters
x
-
any algebraic expression
A
specification for a set
Description
The charfcn function is the characteristic function of the "set" A. It is defined to be
The set specification A can be a set, a real numeric, a complex numeric, a real numeric range, a complex numeric range, an arbitrary range, or an expression sequence of any of the previous. The meaning of each one of these is as follows
can be:
"in" () means:
-----------
--------------------
a set
set membership
a real or complex numeric
equality
a real numeric range,
a complex numeric range,
and (so is the bottom left corner, is the top right corner)
an arbitrary range,
, as determined by -- note that must all evaluate to
an expression sequence of any of the above (except set)
"or" of the above conditions
an expression sequence of sets
set membership in the union of the sets
When the specification is a set, the maple function member is used to test set membership, and thus charfcn will always return one of 0 or 1 in this case. In the other cases, charfcn is symbolic, in that it will return unevaluated if the "in" conditions cannot be verified or the specification is not exactly as described above.
Ranges where are treated as empty, and so charfcn will return 0 for all input.
Examples
See Also
evalc, member, piecewise, signum
Download Help Document