Timeline for how to construct diagonal array using a 2d array in numpy?
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 30, 2014 at 14:35 | comment | added | Mattijn |
I was trying to do some fancy indexing and using numpy.diag_indices_from, didn't expect I'd to use a for loop here
|
|
| Nov 30, 2014 at 14:33 | vote | accept | Mattijn | ||
| Nov 30, 2014 at 14:20 | history | answered | Alan | CC BY-SA 3.0 |