About 745 results
Open links in new tab
  1. numpy.matmul — NumPy v2.2 Manual

    The matmul function implements the semantics of the @ operator introduced in Python 3.5 following PEP 465. It uses an optimized BLAS library when possible (see numpy.linalg). …

  2. numpy.multiply — NumPy v2.2 Manual

    x1, x2 array_like Input arrays to be multiplied. If x1.shape != x2.shape , they must be broadcastable to a common shape (which becomes the shape of the output).

  3. numpy.matrix — NumPy v2.2 Manual

    Returns a matrix from an array-like object, or from a string of data. A matrix is a specialized 2-D array that retains its 2-D nature through operations. It has certain special operators, such as * …

  4. numpy.matmul — NumPy v2.1 Manual

    The matmul function implements the semantics of the @ operator introduced in Python 3.5 following PEP 465. It uses an optimized BLAS library when possible (see numpy.linalg). …

  5. numpy.dot — NumPy v2.2 Manual

    If both a and b are 2-D arrays, it is matrix multiplication, but using matmul or a @ b is preferred. If either a or b is 0-D (scalar), it is equivalent to multiply and using numpy.multiply(a, b) or a * b …

  6. NumPy: the absolute basics for beginners — NumPy v2.2 Manual

    You can pass Python lists of lists to create a 2-D array (or “matrix”) to represent them in NumPy. >>> data = np . array ([[ 1 , 2 ], [ 3 , 4 ], [ 5 , 6 ]]) >>> data array([[1, 2], [3, 4], [5, 6]])

  7. Linear algebra (numpy.linalg) — NumPy v2.2 Manual

    Dot product of two arrays. linalg.multi_dot (arrays, *[, out]) Compute the dot product of two or more arrays in a single function call, while automatically selecting the fastest evaluation order. …

  8. numpy.linalg.multi_dot — NumPy v2.2 Manual

    linalg. multi_dot (arrays, *, out = None) [source] # Compute the dot product of two or more arrays in a single function call, while automatically selecting the fastest evaluation order. multi_dot …

  9. NumPy for MATLAB users — NumPy v2.2 Manual

    NumPy performs operations element-by-element, so multiplying 2D arrays with * is not a matrix multiplication – it’s an element-by-element multiplication. (The @ operator, available since …

  10. The N-dimensional array (ndarray) — NumPy v2.2 Manual

    Arithmetic, matrix multiplication, and comparison operations# Arithmetic and comparison operations on ndarrays are defined as element-wise operations, and generally yield ndarray …

Refresh