Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

matrix multiplication nupy

numpy.matmul(x1, x2, /, out=None, *, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj, axes, axis]) = <ufunc 'matmul'>
Matrix product of two arrays.

Parameters
x1, x2array_like
Input arrays, scalars not allowed.

outndarray, optional
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.

**kwargs
For other keyword-only arguments, see the ufunc docs.

New in version 1.16: Now handles ufunc kwargs

Returns
yndarray
The matrix product of the inputs. This is a scalar only when both x1, x2 are 1-d vectors.

Raises
ValueError
If the last dimension of x1 is not the same size as the second-to-last dimension of x2.

If a scalar value is passed in.
Comment

PREVIOUS NEXT
Code Example
Python :: tables in python 
Python :: palindrome checker python 
Python :: staticmethod python 
Python :: django channel 
Python :: mongodb in python 
Python :: python curl 
Python :: copy dataframe columns names 
Python :: anagrams string python 
Python :: how to remove role from people with a reaction discord bot python 
Python :: django update field after save 
Python :: python create random mac 
Python :: how can I corect word spelling by use of nltk? 
Python :: color plt 
Python :: python how to drop columns from dataframe 
Python :: flask app with spark 
Python :: Python script for computing descriptive statistics 
Python :: django login url 
Python :: list vs tuple python 
Python :: flask where to put db.create_all 
Python :: traversing dictionary in python 
Python :: pandas series 
Python :: del list python 
Python :: count number of objects django template 
Python :: concat sort 
Python :: python to linux executable 
Python :: python recognize every white color 
Python :: Get more than one longest word in a list python 
Python :: tensorflow evaluation metrics 
Python :: queue functions in python 
Python :: python keyboard input 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =