I didn’t know about that one! There’s also at.diag. Seems making diagonal matrices is popular enough to warrant several options.
1 Like
I didn’t know about that one! There’s also at.diag. Seems making diagonal matrices is popular enough to warrant several options.