@freemo I had the same thought recently. I usu just use the hadamard product though. Or define an op if I need it a lot
@2ck Hadamard produce isnt really sufficient if what you are multiplying against isnt the same dimensions as the matrix you want to diagonalize. So that still isnt sufficient for me. In my case I had a Nx1 I needed to multiple against a 3x2. I attached the example.