numpy.sum — NumPy v2.6.dev0 Manual

numpy.org

Tin mới

NumPy v2.6.dev0 Manual - Home
NumPy v2.6.dev0 Manual - Home

NumPy v2.6.dev0 Manual - Home

Building from source

NumPy’s module structure

Universal functions (ufunc)

Routines and objects by topic

Array creation routines

Array manipulation routines

Bit-wise operations

String functionality

Datetime support functions

Data type routines

Mathematical functions with automatic domain

Floating point error handling

Exceptions and Warnings

Discrete Fourier Transform

Functional programming

Masked array operations

Mathematical functions

numpy.cumulative_sum

numpy.cumulative_prod

numpy.floor_divide

numpy.real_if_close

Miscellaneous routines

Sorting, searching, and counting

Typing (numpy.typing)

Array API standard compatibility

CPU/SIMD optimizations

Global Configuration Options

Testing guidelines

Status of numpy.distutils and migration advice

numpy.ufunc.reduce

Axis or axes along which a sum is performed. The default, axis=None, will sum all of the elements of the input array. If axis is negative it counts from the last to the first axis. If axis is a tuple of ints, a sum is pe

previous numpy.prod

next numpy.nanprod

⌂num
1/1