Theoretical mechanics can be roughly divided into vector mechanics (Newtonian mechanics) and analytical mechanics.
The mathematical knowledge that needs to be mastered is almost calculus, preliminary vector analysis and differential equations, all of which must be mastered.
However, it seems that I have seen some simple matrices in the rigid body, but it has little effect.
I hope it helps you.