quadratic_forms_and_eig.mws