Search
Search Results
Search finished, found 7 page(s) matching the search query.
- numpy.record.diagonal
...ce Array objects Standard array subclasses numpy.record numpy.record.diagonal...
- numpy.record.diagonal (Python method, in numpy.record.diagonal)
- NumPy 1.10.0 Release Notes
...ises IndexError Using axis != 0 has raised a DeprecationWarning since NumPy 1.7, it now raises an error. np.ravel, np.diagonal and np.diag now preserve subtypes There was inconsistent behavior between x.ravel() and np.ravel(x), as well as...
- NumPy 1.7.0 Release Notes
...oice (random sample generating function) Compatibility notes In a future version of numpy, the functions np.diag, np.diagonal, and the diagonal method of ndarrays will return a view onto the original array, instead of producing a copy as...
- numpy.record.diagonal
...ce Array objects Standard array subclasses numpy.record numpy.record.diagonal...
- Array API
...that selection of these indices along the given axis would return a partitioned version of self. PyObject *PyArray_Diagonal(PyArrayObject *self, int offset, int axis1, int axis2) Equivalent to ndarray.diagonal (self, offset, axis1, axi...
- Indexing on
ndarrays
...tion ix_: >>> x[np.ix_(rows, columns)] array([[ 0, 2], [ 9, 11]]) Note that without the np.ix_ call, only the diagonal elements would be selected: >>> x[rows, columns] array([ 0, 11]) This difference is the most important thing...