Search
Search Results
Search finished, found 17 page(s) matching the search query.
- numpy.ufunc.outer
...NumPy reference Universal functions (ufunc) numpy.ufunc numpy.ufunc.outer...
- numpy.ufunc.outer (Python method, in numpy.ufunc.outer)
- Iterating over arrays
...last): ... ValueError: non-broadcastable output operand with shape (3,) doesn't match the broadcast shape (2,3) Outer product iteration Any binary operation can be extended to an array operation in an outer product fashion like in o...
- NumPy 1.12.0 Release Notes
...ow more specific to the given warning category. This increased specificity leads to them being handled according to the outer warning settings. This means that no warning may be raised in cases where a wrong category warning is given and ig...
- NumPy 1.20.0 Release Notes
...ead of importing functions from numpy.dual, the functions should be imported directly from NumPy or SciPy. (gh-16156) outer and ufunc.outer deprecated for matrix np.matrix use with outer or generic ufunc outer calls such as numpy.add.oute...
- NumPy 2.0.0 Release Notes
...n alias for numpy.vecdot. numpy.linalg.matrix_transpose - An alias for numpy.matrix_transpose. (gh-25155) numpy.linalg.outer has been added. It computes the outer product of two vectors. It differs from numpy.outer by accepting one-dimensi...
- NumPy C code explanations
...terate over all but the largest dimension. The inner loop is then handled by the underlying 1-D computational loop. The outer loop is a standard iterator loop on the converted iterators. The hardware error flags are checked after each 1-D l...
- NumPy quickstart
...v, cross, cumprod, cumsum, diff, dot, floor, inner, invert, lexsort, max, maximum, mean, median, min, minimum, nonzero, outer, prod, re, round, sort, std, sum, trace, transpose, var, vdot, vectorize, where Indexing, slicing and iterating...
- numpy.ma.outer
...NumPy reference NumPy’s module structure Masked array operations numpy.ma.outer...
- numpy.ma.outerproduct
...NumPy reference NumPy’s module structure Masked array operations numpy.ma.outerproduct...
- numpy.nditer
...addop(it[0], it[1], out=it[2]) ... it.iternext() ... return it.operands[2] Here is an example outer product function: >>> def outer_it(x, y, out=None): ... mulop = np.multiply ... it = np.nditer([x, y, out]...
- numpy.outer
...NumPy reference NumPy’s module structure Linear algebra (numpy.linalg) numpy.outer...
- numpy.ufunc.outer
...NumPy reference Universal functions (ufunc) numpy.ufunc numpy.ufunc.outer...
- Standard array subclasses
...d. method is a string indicating which Ufunc method was called (one of "__call__", "reduce", "reduceat", "accumulate", "outer", "inner"). inputs is a tuple of the input arguments to the ufunc. kwargs is a dictionary containing the optional...
- Subclassing ndarray
...lled, either "__call__" to indicate it was called directly, or one of its methods: "reduce", "accumulate", "reduceat", "outer", or "at". inputs is a tuple of the input arguments to the ufunc kwargs contains any optional or keyword arguments...
- Generalized universal function API
...ation matvec (m,n),(n)->(m) matrix-vector multiplication matmul (m?,n),(n,p?)->(m?,p?) combination of the four above outer_inner (i,t),(j,t)->(i,j) inner over the last dimension, outer over the second to last, and loop/broadcast over the...
- Writing custom array containers
...tion like numpy.multiply method, a string, differentiating between numpy.multiply(...) and variants like numpy.multiply.outer, numpy.multiply.accumulate, and so on. For the common case, numpy.multiply(...), method == '__call__'. inputs, wh...