FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
void eraS2pv
(
double
theta
,
double
phi
,
double
r
,
double
td
,
double
pd
,
double
rd
,
double
pv
[2][3]
)
Definition at line
3
of file
s2pv.c
.
Referenced by
eraStarpv()
, and
t_s2pv()
.
27
{
28
double
st, ct, sp, cp, rcp, x, y, rpd, w;
29
30
st = sin(theta);
31
ct = cos(theta);
32
sp = sin(phi);
33
cp = cos(phi);
34
rcp = r * cp;
35
x = rcp * ct;
36
y = rcp * st;
37
rpd = r * pd;
38
w = rpd*sp - cp*rd;
39
40
pv[0][0] = x;
41
pv[0][1] = y;
42
pv[0][2] = r * sp;
43
pv[1][0] = -y*td - w*ct;
44
pv[1][1] = x*td - w*st;
45
pv[1][2] = rpd*cp + sp*rd;
46
47
return
;
48
49
}
Here is the caller graph for this function:
erfa
src
erfa.h
Generated on Sun Sep 18 2016 20:50:35 for FACT++ by
1.8.11