1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
use crateDAS2R;
use craterv2m;
/// FK5 to Hipparcos rotation and spin.
///
/// Status: support function.
///
/// Returned:
/// r5h [[f64; 3]; 3] r-matrix: FK5 rotation wrt Hipparcos (Note 2)
/// s5h [f64; 3] r-vector: FK5 spin wrt Hipparcos (Note 3)
///
/// Notes:
///
/// 1) This function models the FK5 to Hipparcos transformation as a
/// pure rotation and spin; zonal errors in the FK5 catalog are not
/// taken into account.
///
/// 2) The r-matrix r5h operates in the sense:
///
/// P_Hipparcos = r5h x P_FK5
///
/// where P_FK5 is a p-vector in the FK5 frame, and P_Hipparcos is
/// the equivalent Hipparcos p-vector.
///
/// 3) The r-vector s5h represents the time derivative of the FK5 to
/// Hipparcos rotation. The units are radians per year (Julian,
/// TDB).
///
/// Called:
/// rv2m r-vector to r-matrix
///
/// Reference:
/// F.Mignard & M.Froeschle, Astron.Astrophys., 354, 732-739 (2000).