![]() ![]() * B), MULTIPROD operates block-by-block matrix multiplications. While TIMES operates element-by-element multiplications (e.g. MULTIPROD can be also described as a generalization of the built-in function TIMES. Thus, array A can be described as a block array the elements of which are matrices, and its size can be denoted by (4×5)×3. ![]() For instance, a 4×5×3 array A contains three 4×5 matrices along its first and second dimension (fig. Multidimensional arrays may contain matrices or vectors or even scalars along one or two of their dimensions. 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. MULTIPROD performs multiple multiplications between matrices, vectors, or scalars contained in two multidimensional arrays, with automatic virtual array expansion (AX) enabled. While the latter works only with 2-D arrays, MULTIPROD works also with multidimensional arrays. ![]() MULTIPROD is a powerful, quick and memory efficient generalization for N-D arrays of the MATLAB matrix multiplication operator (*). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |