Assign shifted diagonal values with `np.fill_diagonal` and similar behaviour as `np.diag`
Dec. 15, 2020
3:30 a.m.
As the subject says it will be great if `np.fill_diagonal` had a k-ith diagonal argument as `np.diag` does. The behavior expected (and a hack for the solution) is better explained in the following StackOverflow questions by me: https://stackoverflow.com/questions/65299295/assign-shifted-diagonal-values-... I had posted an issue on numpy repo as well: https://github.com/numpy/numpy/issues/18000 Hope to hear your suggestions.
2126
Age (days ago)
2126
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ivan Gonzalez