3 void eraRv2m(
double w[3],
double r[3][3])
33 double x, y, z, phi, s, c, f;
40 phi = sqrt(x*x + y*y + z*z);
54 r[0][1] = x*y*f + z*s;
55 r[0][2] = x*z*f - y*s;
56 r[1][0] = y*x*f - z*s;
58 r[1][2] = y*z*f + x*s;
59 r[2][0] = z*x*f + y*s;
60 r[2][1] = z*y*f - x*s;
void eraRv2m(double w[3], double r[3][3])