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

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

Serving Software Downloads in 956 Categories, Downloaded 50.234.085 Times

Multiple matrix multiplications, with array expansion enabled 1.0

  Date Added: May 02, 2013  |  Visits: 483

Multiple matrix multiplications, with array expansion enabled

Report Broken Link
Printer Friendly Version


Product Homepage
Download (47 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
USER REVIEWS
More Reviews or Write Review


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  
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  
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  
Backup Utilities  -  SEOTextEd 1.1
Convenient text editing software for SEO specialists and for performing some of webmasters' tasks. Basic functions: Counters of: - characters including HTML markup, without filters - characters with spaces - characters without spaces...
8.98 MB  
Multimedia & Graphics  -  Virtix Sample Pack 1.3 1.3
Three free sample effects for iMovie: Extreme Black & White, Flame, and Letterbox: Add fire to your iMovies with the Flame effect, which lets you add flames to the foreground of your image and control their intensity. Also included in this...
522.24 KB  
Communication  -  Short-time Energy and Zero Crossing Rate 1.0
This folder contains two simple functions (zerocross and energy) to compute STE and STZCR.The script zcr_ste_so.m uses these two and other functions (included) to compute the STE and STZCRof the word 'so'.See the respective function help for more...
61.44 KB  
Development Tools  -  Geodetic Transformations 1.0
Set of tools to perform transformations between projection, ellipsoidal and cartesian coordinates in either direction.Included areproj2ell - projection to ellipsoidalell2cart - ellipsoidal to global cartesiand3trafo - datum transformation between...
81.92 KB  
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  -  isimSoftware CountDown Timer 1.0.2
isimSoftware CountDown Timer isimSoftware countdown timer for Windows, written for show operators by a show operator. Simple intuitive user interface with plenty of options hidden underneath. Displays time remaining, current time and a message...
421 KB  
Multimedia  -  Audio Reader XL 2020 20.0.1
Text to Speech Software Audio Reader XL reads aloud text easily. It’s text to speech software for reading eBooks, texts, web pages, and creating MP3s. The voice aloud reader read-aloud any kind of texts like - Any kind of texts - TXT text -...
73.26 MB  
Multimedia  -  Multi Level Meter Bridge 2020
With the new function Peak Detector you can control very accurate the Input of different Levels in a control rooms. Correlation Meter, In a logfile you are able to comprehend when and what kind of Level is under a threshold. PAS Multi Meter Bridge...
5.29 MB  
Multimedia  -  Spectrum Analyzer pro Live 2020
Spectrum Analyzer Pro Live turn your PC into a cutting-edge sound analysis tool! Dante WDM If you are a professional musician, acoustics expert or just a hi-fi enthusiast who wants to make sure that his audio system is perfectly tuned and plays...
12.86 MB  
Multimedia  -  Graphic Equalizer Studio 2020
you can run any windows sound application or DVD Player software above the Equalizer. The Equalizer will correct the audio stream automatic and will include the Limiter and the compressor to be sure, that the audio signal is not to loud or not to...
25.72 MB