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
Overview of the ArrayTools Package
Calling Sequence
ArrayTools[command](arguments)
command(arguments)
Description
The ArrayTools package is an efficient set of programmer tools used for low level manipulation of rectangular storage Matrices, Vectors, and Arrays.
Note: This package contains tools for storage manipulation only. For mathematical operations on Matrices and Vectors, see the LinearAlgebra and VectorCalculus packages.
As a programmer package, the key focus is on efficient computation. Use of the package requires a fair understanding of internal representation of Matrix and Array data structures. For information on internal storage of Matrices and Arrays, see C_order and Fortran_order.
The package is primarily external (compiled code), and contains highly efficient functions for common Array related programming tasks. Some of these tasks would be impossible to program at the Maple level (for example, ComplexAsFloat), while others would be merely time consuming (for example, Fill) or require additional storage allocation (for example, DataTranspose).
At this time, all functions are restricted to rectangular storage Array objects.
Most functions in the package work for Matrices of any data type, and exceptions are noted on a by command basis.
Each command in the ArrayTools package can be accessed by using either the long form or the short form of the command name in the command calling sequence.
As the underlying implementation of the ArrayTools package is a module, it is also possible to use the form ArrayTools:-command to access a command from the package. For more information, see Module Members.
List of ArrayTools Package Commands
The following is a list of available commands.
AddAlongDimension
Alias
AllNonZero
AnyNonZeros
BlockCopy
CircularShift
ComplexAsFloat
Concatenate
Copy
DataTranspose
Diagonal
Dimensions
ElementDivide
ElementMultiply
ElementPower
Fill
FlipDimension
HasNonZero
HasZero
IsEqual
IsZero
LowerTriangle
MultiplyAlongDimension
NumElems
Permute
PermuteInverse
RandomArray
RegularArray
RemoveSingletonDimensions
Replicate
Reshape
SearchArray
Size
UpperTriangle
To display the help page for a particular ArrayTools command, see Getting Help with a Command in a Package.
Examples
Vector example
Duplicate first 5 entries in last 5
Clear every second entry
Alias as a 2 x 5 Matrix
Complex-valued example
View Matrix as a double-size real Matrix, type float[8]
Clear the real part only using the view Mr
See Also
Fortran_order, LinearAlgebra, Matrix, module, Vector, VectorCalculus, with
Download Help Document