Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.551.002 Times

Multiple matrix multiplications, with array expansion enabled 1.0

  Date Added: May 02, 2013  |  Visits: 264

Multiple matrix multiplications, with array expansion enabled

Report Broken Link
Printer Friendly Version


Product Homepage
Download (20 downloads)

MULTIPROD is a powerful, quick and memory efficient generalization for N-D arrays of the MATLAB matrix multiplication operator (*). While the latter works only with 2-D arrays, MULTIPROD works also with multidimensional arrays.MULTIPROD performs multiple multiplications between matrices, vectors, or scalars contained in two multidimensional arrays, with automatic virtual array expansion (AX) enabled. AX allows you, for instance, to multiply a single matrix A by an array of matrices B, by virtually replicating A to obtain an array compatible with B.Multidimensional arrays may contain matrices or vectors or even scalars along one or two of their dimensions. For instance, a 4doOCo5doOCo3 array A contains three 4doOCo5 matrices along its first and second dimension (fig. 1). Thus, array A can be described as a block array the elements of which are matrices, and its size can be denoted by (4doOCo5)doOCo3.MULTIPROD can be also described as a generalization of the built-in function TIMES. While TIMES operates element-by-element multiplications (e.g. A .* B), MULTIPROD operates block-by-block matrix multiplications.EXAMPLESLet's say thatA is (2doOCo5)doOCo6, andB is (5doOCo3)doOCo6.With MULTIPROD the six matrices in A can be multiplied by those in B in a single intuitively appealing step:C = MULTIPROD(A, B). where C is (2doOCo3)doOCo6.By automatically applying AX, MULTIPROD can multiply a single matrix by all the blocks of a block array. So, ifA is 2doOCo5 (single matrix), andB is (5doOCo3)doOCo1000doOCo10,then C = MULTIPROD(A, B) yields a (2doOCo3)doOCo1000doOCo10 array. A is virtually expanded to a (2doOCo5)doOCo1000doOCo10 size, then multi-multiplied by B. This is done without using loops, and without actually replicating the matrix (see Appendix A). We refer to this particular application of AX as virtual matrix expansion. In a system running MATLAB R2008a, MULTIPROD performs it about 380 times faster than the following equivalent loop (see Appendix B):for i = 1:1000 for j = 1:10 C(:,:,i,j) = A * B(:,:,i,j); endendAX generalizes matrix expansion to multidimensional arrays of any size. For instance, if A is (2doOCo5)doOCo10, andB is (5doOCo3)doOCo1doOCo6,then C = MULTIPROD(A, B) multiplies each of the 10 matrices in A by each of the 6 matrices in B, obtaining 60 matrices stored in a (2doOCo3)doOCo10doOCo6 array C. It does that by virtually expanding A to (2doOCo5)doOCo10doOCo6, and B to (5doOCo3)doOCo10doOCo6. A detailed definition of AX is provided in the manual.APPLICATIONSMULTIPROD has a broad field of potential applications. By calling MULTIPROD, multiple geometrical transformations such as rotations or roto-translations can be performed on large arrays of vectors in a single step and with no loops. Multiple operations such as normalizing an array of vectors, or finding their projection along the axes indicated by another array of vectors can be performed easily, with no loops and with two or three rows of code.Sample functions performing some of these tasks by calling MULTIPROD are included in the separate toolbox "Vector algebra for multidimensional arrays of vectors" (MATLAB Central, file #8782).OPTIMIZATION AND TESTINGSince I wanted to be of service to as many people as possible, MULTIPROD was designed, debugged, and optimized for speed and memory efficiency with extreme care. Precious advices by Jinhui Bai (Georgetown University) helped me to make it even faster, more efficient and more versatile. Suggestions to improve it further will be welcome. The code ("testMULTIPROD.m") I used to systematically test the function output is included in this package.THE ARRAYLAB TOOLBOXIn sum, MULTIPROD is a generalization for N-D arrays of the matrix multiplication function MTIMES, with AX enabled.Vector inner, outer, and cross products generalized for N-D arrays and with AX enabled are performed by DOT2, OUTER, and CROSS2 (MATLAB Central, file #8782, http://www.mathworks.com/matlabcentral/fileexchange/8782).Element-by-element multiplications (see TIMES) and other elementwise binary operations (such as PLUS and EQ) with AX enabled are performed by BAXFUN (MATLAB Central, file #23084, http://www.mathworks.com/matlabcentral/fileexchange/23084).Together, these functions make up the d-deDUARRAYLAB toolboxd-deDt. I hope that The MathWorks will include it in the next version of MATLAB.MULTITRANSPThis package includes the function MULTITRANSP, performing multiple matrix transpositions. B = MULTITRANSP(A, DIM) transposes all the matrices contained along dimensions DIM and DIM+1 of A.

Requirements: No special requirements
Platforms: Matlab
Keyword: Functions Included Performing Projection Sample Separate Tasks
Users rating: 0/10

License: Shareware Size: 501.76 KB
MULTIPLE MATRIX MULTIPLICATIONS, WITH ARRAY EXPANSION ENABLED RELATED
Libraries  -  SVL 1.5
SVL library provides vector and matrix classes, as well as a number of functions for performing vector arithmetic with them. Equation-like syntax is supported via class operators, for example: #include "svl/SVL.h" Vec3 v(1.0, 2.0, 3.0); Mat3...
112.64 KB  
Development Tools  -  NonParametric Statistical Toolbox 1.0
These are MatLab functions for performing NonParametric statistics on small data sets.Begin at npar_data.m to input your data and set switches for the test you want. You will find examples of data sets already there. Run npar_data.m in MatLab....
30.72 KB  
Science  -  Ruleminer 2.0
Ruleminer is an experimental tool for performing various data-mining tasks, especially focused on searching for association rules. The aim is to research the association rules mining process and to develop new approaches for solving the related...
427.22 KB  
Multimedia  -  Mass Univariate ERP Toolbox 1.0
The Mass Univariate ERP Toolbox is a freely available set of MATLAB functions for performing mass univariate analyses of event-related potentials (ERPs), a noninvasive measure of neural activity popular in cognitive neuroscience. A mass univariate...
215.04 KB  
Inventory Systems  -  Camosys InvoPro 1.1.50
CamoSys InvoPro is the All In One Business Solution. With all the crucial functions included in one software, this software can prove to be the backbone of any company. With features like Client Management, Invoice and Inventory Management,...
20 MB  
Programming  -  Roman Numeral Conversion API 0.0.6
This package was developed to provide an easy method of including Roman Numeral values in the output of programs written in C/C++. There are example programs that demonstrates the use of the functions included in the library. The utilities...
327.68 KB  
Photo & Video  -  Automatic Photo Timer 1.0
Get in your Photos with the Automatic Photo Timer app! Choose between 5, 10, or 20 seconds of time, lay your iPhone on a flat plane and go in the frame with your friends or family and BAM! Your in the picture too. Functions...
1.1 MB  
Reference  -  Excel Function list 1.5
The App provide the capability to search and list the functions of Excel for iPhone. Functions included Excel 337 addiction, and offers examples of the function and purpose. Features] Excel 2007 (Type 356), 2010 (60) You can find...
2 MB  
Utilities  -  Labguru Mobile 1.0.0
Labguru's mobile app assists researchers with 4 essential functions to help researchers with mobile tasks: - Drill down into your lab's storage locations. Use Labguru's mobile app on your phone to find any item in your lab. Search results show...
11.6 MB  
Mailing List Managers  -  Opt-In List Manager 1.0.7
Email list management utility. Can process files of unlimited size, works fast and easy to use. Has rich set of functions: extracting mails, merging, splitting, filtering, combining and randomizing lists, verifying domains. List Manager can...
1.4 MB  
NEW DOWNLOADS IN SCRIPTS, MULTIMEDIA
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Multimedia  -  RMCA Realtime MIDI Chord Arranger Pro 4.2.8.0
RMCA Pro is an auto-accompaniment software which offers all major features of a high quality MIDI keyboard. It comes with chord recognition, based auto arranger, style creator, LeadSheet editor, recording section, up to 16 fingered and 10...
1.53 MB  
Multimedia  -  Spectrum Analyzer pro 2015
This sophisticated piece of software turns your computer into a modern, State-of-The-Art spectrum analyzer giving you features that go far beyond the possibilities of any stand-alone hardware unit -VST Plugin support-Leq (m) movie calculator Leq...
22.61 MB  
Multimedia  -  Multi Level Meter Bridge 2015
PAS Multi Meter Bridge can be configured in a number of different ways, to accurately model the ballistics, responses and graphics of a wide range of standard peak programme meters. These meters currently include the following:IEC 268-10 Type I...
5.22 MB  
Multimedia  -  DTMF Tone Decoder 2015
Why use an audio spectrum analyzer? For those of you that have done video installations, would you install a camera and lens without a monitor to see what you are doing? Why would you do an audio installation without seeing what you are doing? The...
4.09 MB  
Multimedia  -  Frequency Generator 2014
NEW in this version Oscilloscope srcoller and accelerator Efects like Peak and Splitt Oscilloscope kinds like Con. Lines, Dots, Mir Lines, Spikes, Vert. Lines Analyse the real time input in the Oscilloscope Now you can record the generated Tones...
2.01 MB