A tutorial on C/GMRES and automatic code generation for nonlinear model predictive control | IEEE Conference Publication | IEEE Xplore