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
combstruct[iterstructs] - create an iterator for a specified structure
combstruct[nextstruct] - produce the next structure
combstruct[finished] - return true when the last structure is produced
Calling Sequence
iterstructs(struct(args), size=n)
nextstruct(it)
finished(it)
Parameters
struct
-
one of a predefined list of available structures
args
argument list that corresponds to the structure struct
n
(optional) non-negative integer specifying the size of the object or the string 'allsizes' when the object should be selected from all possible sizes
it
iterator returned by a call to iterstructs
Description
The iterstructs function returns an iterator in the form of a table. The nextstruct and finished functions are used to manipulate this table. The table entry nextvalue is a procedure created to traverse the elements defined by struct(args) of size . The finished entry is a flag that is set to true when the last structure is produced.
The nextstruct command returns the next structure from the iterator defined by the call to iterstructs.
The finished function returns true when the last structure is produced.
If the size is not specified, the default size for that structure is used.
To list all the structures at once, see combstruct[allstructs].
For a list of available structures, see combstruct[structures].
Examples
See Also
combstruct, combstruct[allstructs], combstruct[structures]
Download Help Document