Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
MTM[Zip] - Apply a function to matched elements in two arrays
Calling Sequence
Zip(fn,M1,M2)
Parameters
M1
-
Array
M2
fn
procedure
outputoptions
equation of the form outputoptions = list
Description
The Zip(fn,M1,M2) command applies the bivariate function f to the paired entries of the Arrays, arrays, or scalars M1 and M2.
M1 and M2 must be the same size, or scalars. If M1 is an array and M2 is a scalar, the result will be an array the same size as M1 with the scalar M2 used as the second argument to fn at each entry.
outputoptions specify additional attributes of the result Array, like datatype. These arguments are ignored for table-based arrays.
Examples
See Also
Array, array, zip, MTM[Map]
Download Help Document