The focus was on the mathematics and concepts. We were not taught how to approach these problems using computer code. We were taught very little computer programming in general.
When we were taught how to solve problems using computer assistance the focus tended to be on using specific software packages and not on how to write code.
I.e. using ANSYS for Fluid Dynamics problems or using Excel's "Solver" for simultaneous linear equations.
Edit: QR Factorisation was covered in my first year Linear Alegbra course. For Matrix stuff we used software called "Maple" which was installed in computer lab at university I have never heard of it again since I left uni so I don't think it is all that common. We mostly had to solve problems by hand on paper anyway - which I hated.