bundles / scipy latest / scipy / linalg / _fblas / dgemm
blas_function
scipy.linalg._fblas:dgemm
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_fblas.cpython-314-x86_64-linux-gnu.so
Signature
def dgemm(alpha, a, b, beta = 0.0, c = None, trans_a = 0, trans_b = 0, overwrite_c = 0)Summary
Compute the matrix-matrix product c = alpha*op(a)@op(b) + beta*c (BLAS dgemm).
Parameters
alpha: floatScalar multiplier for the product.
a: ndarrayFirst input matrix.
b: ndarraySecond input matrix.
beta: float, optionalScalar multiplier for
c. Default is 0.c: ndarray, optionalInput/output matrix; if omitted a new zero matrix is allocated. Default is None.
trans_a: int, optionalOperation on
a: 0 none, 1 transpose, 2 conjugate transpose. Default is 0.trans_b: int, optionalOperation on
b: 0 none, 1 transpose, 2 conjugate transpose. Default is 0.overwrite_c: int, optionalIf nonzero,
cmay be overwritten in place. Default is 0.
Returns
c: ndarrayThe matrix
alpha*op(a)@op(b) + beta*c, whereop(x)isx,x.T, orx.conj().Taccording totrans_a/trans_b.
Aliases
scipy.linalg._fblas.dgemm