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

Function dgemm_

numpy/linalg/lapack_lite/f2c_blas.c:6837–7198  ·  view source on GitHub ↗

Subroutine */

Source from the content-addressed store, hash-verified

6835} /* ddot_ */
6836
6837/* Subroutine */ int dgemm_(char *transa, char *transb, integer *m, integer *
6838 n, integer *k, doublereal *alpha, doublereal *a, integer *lda,
6839 doublereal *b, integer *ldb, doublereal *beta, doublereal *c__,
6840 integer *ldc)
6841{
6842 /* System generated locals */
6843 integer a_dim1, a_offset, b_dim1, b_offset, c_dim1, c_offset, i__1, i__2,
6844 i__3;
6845
6846 /* Local variables */
6847 static integer i__, j, l, info;
6848 static logical nota, notb;
6849 static doublereal temp;
6850 extern logical lsame_(char *, char *);
6851 static integer nrowa, nrowb;
6852 extern /* Subroutine */ int xerbla_(char *, integer *);
6853
6854
6855/*
6856 Purpose
6857 =======
6858
6859 DGEMM performs one of the matrix-matrix operations
6860
6861 C := alpha*op( A )*op( B ) + beta*C,
6862
6863 where op( X ) is one of
6864
6865 op( X ) = X or op( X ) = X',
6866
6867 alpha and beta are scalars, and A, B and C are matrices, with op( A )
6868 an m by k matrix, op( B ) a k by n matrix and C an m by n matrix.
6869
6870 Arguments
6871 ==========
6872
6873 TRANSA - CHARACTER*1.
6874 On entry, TRANSA specifies the form of op( A ) to be used in
6875 the matrix multiplication as follows:
6876
6877 TRANSA = 'N' or 'n', op( A ) = A.
6878
6879 TRANSA = 'T' or 't', op( A ) = A'.
6880
6881 TRANSA = 'C' or 'c', op( A ) = A'.
6882
6883 Unchanged on exit.
6884
6885 TRANSB - CHARACTER*1.
6886 On entry, TRANSB specifies the form of op( B ) to be used in
6887 the matrix multiplication as follows:
6888
6889 TRANSB = 'N' or 'n', op( B ) = B.
6890
6891 TRANSB = 'T' or 't', op( B ) = B'.
6892
6893 TRANSB = 'C' or 'c', op( B ) = B'.
6894

Callers 15

dgebrd_Function · 0.85
dgehrd_Function · 0.85
dgesdd_Function · 0.85
dgetrf_Function · 0.85
dlaed0_Function · 0.85
dlaed3_Function · 0.85
dlaed7_Function · 0.85
dlahr2_Function · 0.85
dlalsa_Function · 0.85
dlalsd_Function · 0.85
dlaqr2_Function · 0.85
dlaqr3_Function · 0.85

Calls 2

lsame_Function · 0.85
maxFunction · 0.50

Tested by

no test coverage detected