This is documentation for an old release of NumPy (version 1.6.0). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.ndarray.__neg__

ndarray.__neg__()

x.__neg__() <==> -x

Previous topic

numpy.ndarray.__nonzero__

Next topic

numpy.ndarray.__pos__

This Page