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
ArrayTools[ElementDivide] - element-wise division of Array entries
ArrayTools[ElementMultiply] - element-wise multiplication of Array entries
ArrayTools[ElementPower] - element-wise power of Array entries
Calling Sequence
ElementMultiply(A,B)
ElementDivide(A,B)
ElementPower(A,B)
Parameters
A
-
scalar, Matrix, Vector, or Array
B
Description
These commands apply operations on individual elements of an Array. If one of A or B are scalars and the other is an Array, the operation is mapped over the Array. If both A or B are Arrays of the same size, then the operation is applied using zip.
These functions are part of the ArrayTools package, so they can be used in the short form ElementMultiply(..), ElementDivide(..), or ElementPower(..) only after executing the command with(ArrayTools). However, they can always be accessed through the long form of the commands by using ArrayTools[ElementMultiply](..), ArrayTools[ElementDivide](..), or ArrayTools[ElementPower(..), respectively.
Examples
See Also
ArrayTools, map, operators/elementwise, zip
Download Help Document