Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
combinat[cartprod] - iterate over a list of lists or sets
Calling Sequence
cartprod(LL)
Parameters
LL
-
list of sets or lists of anything
Description
The command cartprod is special iterating function. It allows one to iterate over the cartesian product of a list of lists or sets of values, as illustrated in the example below. It returns a table with two entries finished and nextvalue.
The nextvalue entry is a function. When called repeatedly, it iterates through the values in the cartesian product of the list of lists or sets LL.
The finished entry is either true or false and indicates whether the iteration is complete. If the finished flag is true, the nextvalue function can be called to get the next value in the cartesian product. If false, the sequence is finished.
The command with(combinat,cartprod) allows the use of the abbreviated form of this command.
Examples
See Also
combinat
Download Help Document