* refactor the getset part of the pseudoAxesEngine
[hkl.git] / Documentation / Maxima / E4C_delta_omega.max
blob248b72d9e7cfd274fa7e2f6cc0365bd05879acd3
1 Momega : MATRIX([cos(omega), 0, -sin(omega)], [0, 1, 0], [sin(omega), 0, cos(omega)]);
2 Mchi : MATRIX([1, 0, 0], [0, cos(chi), -sin(chi)], [0, sin(chi), cos(chi)]);
3 Mphi : MATRIX([cos(phi), 0, -sin(phi)], [0, 1, 0], [sin(phi), 0, cos(phi)]);
4 M2theta : MATRIX([cos(2*theta), 0, -sin(2*theta)],[0, 1, 0],[sin(2*theta), 0, cos(2*theta)]);
6 R : Momega.Mchi.Mphi;
8 Q : M2theta.[ki, 0, 0]-[ki, 0, 0];
10 INVERT(R).Q, TRIGEXPAND = TRUE, EXPAND, omega = theta + C;
12 MM : RATSIMP(TRIGSIMP(%));