Aug-02-2020, 01:09 AM
Use
numpy.flipud
first and then .diagonal
; i.e. np.flipud(x).diagonal()
numpy diagonal
|
|
Messages In This Thread |
numpy diagonal - by davidm - Aug-01-2020, 01:53 PM
RE: numpy diagonal - by scidam - Aug-02-2020, 01:09 AM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
[Numpy] How to store different data type in one numpy array? | water | 7 | 921 |
Mar-26-2024, 02:18 PM Last Post: snippsat |
|
Numpy returns "TypeError: unsupported operand type(s) for *: 'numpy.ufunc' and 'int'" | kalle | 2 | 2,799 |
Jul-19-2022, 06:31 AM Last Post: paul18fr |
|
"erlarge" a numpy-matrix to numpy-array | PhysChem | 2 | 3,105 |
Apr-09-2019, 04:54 PM Last Post: PhysChem |
|
Diagonal grid products | PythonLamer | 1 | 2,578 |
Dec-05-2017, 11:32 AM Last Post: Larz60+ |