Texonom
Texonom
/
Science
Science
/Mathematics/Math Field/Statistics/Statistics Tool/Numpy/numpy operation/
np.matmul()
Loading views...
Search

np.matmul()

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2024 Sep 21 15:56
Editor
Editor
Seonglae ChoSeonglae Cho
Edited
Edited
2026 Jan 28 23:48
Refs
Refs
np.matmul([[1,2],[3,4]], [[5,6],[7,8]]) # [[19,22], [43,50]] # A @ B
last 2 axis
 
 
 
 
 
numpy.matmul — NumPy v2.1 Manual
A location into which the result is stored. If provided, it must have a shape that matches the signature (n,k),(k,m)->(n,m). If not provided or None, a freshly-allocated array is returned.
numpy.matmul — NumPy v2.1 Manual
https://numpy.org/doc/stable/reference/generated/numpy.matmul.html
 
 
 

Recommendations

Texonom
Texonom
/
Science
Science
/Mathematics/Math Field/Statistics/Statistics Tool/Numpy/numpy operation/
np.matmul()
Copyright Seonglae Cho·