Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Make copyto!(A,I) work for rectangular matrices #28790
An example is in LinearAlgebra, suppose you want to materialize the q factor in a QR decomposition. You might have two equally sized matrices
using LinearAlgebra Q,R = qr!(A) Qmaterialized = lmul!(Q, copyto!(B,I))
I'll probably need to update some tests as well?