Search
Searching..
- Broadcasting
...NumPy user guide NumPy fundamentals Broadcasting...
- NumPy C code explanations > Broadcasting
...yArrayIterObject keeps track of the current flat index of the iterator. It is updated by the PyArray_ITER_NEXT macro. Broadcasting See also Broadcasting In Numeric, the ancestor of NumPy, broadcasting was implemented in several lines of...
- NumPy: the absolute basics for beginners > Broadcasting
...You can sum over the axis of columns with: >>> b.sum(axis=1) array([2, 4]) Learn more about basic operations here. Broadcasting There are times when you might want to carry out an operation between an array and a single number (also ca...
- Universal functions (
ufunc
) basics > Broadcasting...unction (or ufunc for short) is a function that operates on ndarrays in an element-by-element fashion, supporting array broadcasting, type casting, and several other standard features. That is, a ufunc is a “vectorized” wrapper for a functi...
- NumPy quickstart > Broadcasting rules
...eal, sum Basic Statisticscov, mean, std, var Basic Linear Algebracross, dot, outer, linalg.svd, vdot Less basic Broadcasting rules Broadcasting allows universal functions to deal in a meaningful way with inputs that do not have exac...
- Array API
- Array broadcasting in Numpy
...Array broadcasting in Numpy...
- Beyond the basics
.../* process with iter1->dataptr and iter2->dataptr */ PyArray_ITER_NEXT(iter1); PyArray_ITER_NEXT(iter2); } Broadcasting over multiple arrays When multiple arrays are involved in an operation, you may want to use the same broadc...
- Broadcasting
...NumPy user guide NumPy fundamentals Broadcasting...
- Iterating over arrays
- NumPy 1.10.0 Release Notes
- NumPy 1.11.0 Release Notes
- NumPy 1.9.0 Release Notes
...ired output shape exactly. If the check fails a ValueError instead of TypeError is raised. Einsum Remove unnecessary broadcasting notation restrictions. np.einsum('ijk,j->ijk', A, B) can also be written as np.einsum('ij...,j->ij...', A,...
- NumPy 2.0.0 Release Notes
- NumPy C code explanations
...yArrayIterObject keeps track of the current flat index of the iterator. It is updated by the PyArray_ITER_NEXT macro. Broadcasting See also Broadcasting In Numeric, the ancestor of NumPy, broadcasting was implemented in several lines of...
- NumPy quickstart
- numpy.broadcast
- numpy.broadcast.index
- numpy.broadcast.iters
- numpy.broadcast.nd
- numpy.broadcast.ndim
- numpy.broadcast.numiter
- numpy.broadcast.reset
- numpy.broadcast.shape
- numpy.broadcast.size
- NumPy: the absolute basics for beginners
- Standard array subclasses
- Universal functions (
ufunc
) basics - Array iterator API
- Array objects
- Generalized universal function API
- Glossary
- How to create arrays with regularly-spaced values
- Indexing on
ndarrays
- Linear algebra (
numpy.linalg
) - NumPy 1.10.2 Release Notes
- NumPy 1.12.0 Release Notes
- NumPy 1.13.0 Release Notes
- NumPy 1.14.4 Release Notes
- NumPy 1.15.0 Release Notes
- NumPy 1.16.0 Release Notes
- NumPy 1.17.0 Release Notes
- NumPy 1.18.0 Release Notes
- NumPy 1.20.0 Release Notes
- NumPy 1.21.4 Release Notes
- NumPy 1.22.0 Release Notes
- NumPy 1.23.0 Release Notes
- NumPy 1.24 Release Notes
- NumPy 1.25.0 Release Notes
- NumPy 1.3.0 Release Notes
- NumPy 1.6.0 Release Notes
- NumPy 1.7.0 Release Notes
- NumPy 1.8.1 Release Notes
- NumPy C-API
- NumPy fundamentals
- NumPy security
- NumPy user guide
- numpy.absolute
- numpy.acos
- numpy.acosh
- numpy.add
- numpy.all
- numpy.allclose
- numpy.any
- numpy.arccos
- numpy.arccosh
- numpy.arcsin
- numpy.arcsinh
- numpy.arctan
- numpy.arctan2
- numpy.arctanh
- numpy.argmax
- numpy.argmin
- numpy.array_equiv
- numpy.asin
- numpy.asinh
- numpy.atan
- numpy.atan2
- numpy.atanh
- numpy.average
- numpy.bitwise_and
- numpy.bitwise_count
- numpy.bitwise_invert
- numpy.bitwise_left_shift
- numpy.bitwise_or
- numpy.bitwise_right_shift
- numpy.bitwise_xor
- numpy.block
- numpy.broadcast_arrays
- numpy.broadcast_shapes
- numpy.broadcast_to
- numpy.busday_count
- numpy.busday_offset
- numpy.cbrt
- numpy.ceil
- numpy.char.add
- numpy.char.isalnum
- numpy.char.isalpha
- numpy.char.isdecimal
- numpy.char.isdigit
- numpy.char.islower
- numpy.char.isnumeric
- numpy.char.isspace
- numpy.char.istitle
- numpy.char.isupper
- numpy.char.str_len
- numpy.choose
- numpy.clip
- numpy.conj
- numpy.conjugate
- numpy.copysign
- numpy.copyto
- numpy.cos
- numpy.cosh
- numpy.count_nonzero