|
|
General Matrix MultiplyThe General Matrix Multiply (GEMM) is a subroutine in the Basic Linear Algebra Subprograms (BLAS) which performs matrix_(mathematics) multiplication, that is the multiplication of two matrices. This includes: * SGEMM for single-precision, * DGEMM for double-precision, * CGEMM for complex single-precision, and * ZGEMM for complex double-precision. GEMM is often tuned by High Performance Computing vendors to run as fast as possible, because it is the building block for so many other routines. It is also the most important routine in the LINPACK benchmark. == Operation == The xGEMM routine calculates the new value of matrix ''C'' based on the matrix-product of matrices ''A'' and ''B'', and the old value of matrix ''C'' : where and vales are scalar coefficients. The Fortran interface for these procedures are: SUBROUTINE xGEMM ( TRANSA, TRANSB, M, N, K, ALPHA, A, LDA, B, LDB, BETA, C, LDC ) where TRANSA and TRANSB determines if the matrices ''A'' and ''B'' are to be transposed. M is the number of rows in matrix ''A'' and ''C''. N is the number of columns in matrix ''B'' and ''C''. K is the number of columns in matrix ''A'' and rows in matrix ''B''. LDA, LDB and LDC specifies the size of the first dimension of the matrices, as laid out in memory; meaning the memory distance between the start of each row/column, depending on the memory structure. See other meanings of words starting from letter: GGA | GB | GC | GD | GE | GF | GH | GI | GJ | GK | GL | GM | GN | GO | GP | GR | GS | GT | GU | GW | GX | GY | GZ |Words begining with General_Matrix_Multiply: General_Matrix_Multiply
Sponsored links: praca, nurkowanie.
|
These materials are based on Wikipedia and licensed under the GNU FDL
YouTube.com videos better site than Turbo Tax 2007 |
|
|