MCPcopy Create free account
hub / github.com/numpy/numpy / sgemm_

Function sgemm_

numpy/linalg/lapack_lite/f2c_blas.c:11439–11799  ·  view source on GitHub ↗

Subroutine */

Source from the content-addressed store, hash-verified

11437} /* sdot_ */
11438
11439/* Subroutine */ int sgemm_(char *transa, char *transb, integer *m, integer *
11440 n, integer *k, real *alpha, real *a, integer *lda, real *b, integer *
11441 ldb, real *beta, real *c__, integer *ldc)
11442{
11443 /* System generated locals */
11444 integer a_dim1, a_offset, b_dim1, b_offset, c_dim1, c_offset, i__1, i__2,
11445 i__3;
11446
11447 /* Local variables */
11448 static integer i__, j, l, info;
11449 static logical nota, notb;
11450 static real temp;
11451 extern logical lsame_(char *, char *);
11452 static integer nrowa, nrowb;
11453 extern /* Subroutine */ int xerbla_(char *, integer *);
11454
11455
11456/*
11457 Purpose
11458 =======
11459
11460 SGEMM performs one of the matrix-matrix operations
11461
11462 C := alpha*op( A )*op( B ) + beta*C,
11463
11464 where op( X ) is one of
11465
11466 op( X ) = X or op( X ) = X',
11467
11468 alpha and beta are scalars, and A, B and C are matrices, with op( A )
11469 an m by k matrix, op( B ) a k by n matrix and C an m by n matrix.
11470
11471 Arguments
11472 ==========
11473
11474 TRANSA - CHARACTER*1.
11475 On entry, TRANSA specifies the form of op( A ) to be used in
11476 the matrix multiplication as follows:
11477
11478 TRANSA = 'N' or 'n', op( A ) = A.
11479
11480 TRANSA = 'T' or 't', op( A ) = A'.
11481
11482 TRANSA = 'C' or 'c', op( A ) = A'.
11483
11484 Unchanged on exit.
11485
11486 TRANSB - CHARACTER*1.
11487 On entry, TRANSB specifies the form of op( B ) to be used in
11488 the matrix multiplication as follows:
11489
11490 TRANSB = 'N' or 'n', op( B ) = B.
11491
11492 TRANSB = 'T' or 't', op( B ) = B'.
11493
11494 TRANSB = 'C' or 'c', op( B ) = B'.
11495
11496 Unchanged on exit.

Callers 15

clacrm_Function · 0.85
clalsa_Function · 0.85
clalsd_Function · 0.85
clarcm_Function · 0.85
sgebrd_Function · 0.85
sgehrd_Function · 0.85
sgesdd_Function · 0.85
sgetrf_Function · 0.85
slaed0_Function · 0.85
slaed3_Function · 0.85
slaed7_Function · 0.85
slahr2_Function · 0.85

Calls 2

lsame_Function · 0.85
maxFunction · 0.50

Tested by

no test coverage detected