3 int eraPvstar(
double pv[2][3],
double *ra,
double *dec,
4 double *pmr,
double *pmd,
double *px,
double *rv)
100 double r, x[3], vr, ur[3], vt, ut[3], bett, betr, d, w, del,
101 usr[3], ust[3], a, rad, decd, rd;
118 w = 1.0 - betr*betr - bett*bett;
119 if (d == 0.0 || w < 0)
return -1;
123 w = (betr != 0) ? (betr - del) / (betr * d) : 1.0;
134 eraPv2s(pv, &a, dec, &r, &rad, &decd, &rd);
135 if (r == 0.0)
return -2;
double eraPdp(double a[3], double b[3])
void eraPv2s(double pv[2][3], double *theta, double *phi, double *r, double *td, double *pd, double *rd)
double eraPm(double p[3])
void eraPpp(double a[3], double b[3], double apb[3])
void eraSxp(double s, double p[3], double sp[3])
void eraPmp(double a[3], double b[3], double amb[3])
void eraPn(double p[3], double *r, double u[3])
int eraPvstar(double pv[2][3], double *ra, double *dec, double *pmr, double *pmd, double *px, double *rv)