24 static void viv(
int ival,
int ivalok,
25 const char *func,
const char *test,
int *status)
49 printf(
"%s failed: %s want %d got %d\n",
50 func, test, ivalok, ival);
52 printf(
"%s passed: %s want %d got %d\n",
53 func, test, ivalok, ival);
58 static void vvd(
double val,
double valok,
double dval,
59 const char *func,
const char *test,
int *status)
89 printf(
"%s failed: %s want %.20g got %.20g (1/%.3g)\n",
90 func, test, valok, val, f);
92 printf(
"%s passed: %s want %.20g got %.20g\n",
93 func, test, valok, val);
120 viv(s,
'+',
"eraA2af",
"s", status);
122 viv(idmsf[0], 134,
"eraA2af",
"0", status);
123 viv(idmsf[1], 21,
"eraA2af",
"1", status);
124 viv(idmsf[2], 30,
"eraA2af",
"2", status);
125 viv(idmsf[3], 9706,
"eraA2af",
"3", status);
149 eraA2tf(4, -3.01234, &s, ihmsf);
151 viv((
int)s,
'-',
"eraA2tf",
"s", status);
153 viv(ihmsf[0], 11,
"eraA2tf",
"0", status);
154 viv(ihmsf[1], 30,
"eraA2tf",
"1", status);
155 viv(ihmsf[2], 22,
"eraA2tf",
"2", status);
156 viv(ihmsf[3], 6484,
"eraA2tf",
"3", status);
176 double pnat[3], v[3], s, bm1, ppr[3];
179 pnat[0] = -0.76321968546737951;
180 pnat[1] = -0.60869453983060384;
181 pnat[2] = -0.21676408580639883;
182 v[0] = 2.1044018893653786e-5;
183 v[1] = -8.9108923304429319e-5;
184 v[2] = -3.8633714797716569e-5;
185 s = 0.99980921395708788;
186 bm1 = 0.99999999506209258;
188 eraAb(pnat, v, s, bm1, ppr);
190 vvd(ppr[0], -0.7631631094219556269, 1e-12,
"eraAb",
"1", status);
191 vvd(ppr[1], -0.6087553082505590832, 1e-12,
"eraAb",
"2", status);
192 vvd(ppr[2], -0.2167926269368471279, 1e-12,
"eraAb",
"3", status);
216 j =
eraAf2a(
'-', 45, 13, 27.2, &a);
218 vvd(a, -0.7893115794313644842, 1e-12,
"eraAf2a",
"a", status);
219 viv(j, 0,
"eraAf2a",
"j", status);
239 vvd(
eraAnp(-0.1), 6.183185307179586477, 1e-12,
"eraAnp",
"", status);
258 vvd(
eraAnpm(-4.0), 2.283185307179586477, 1e-12,
"eraAnpm",
"", status);
277 double date1, date2, ebpv[2][3], ehp[3];
283 ebpv[0][0] = 0.901310875;
284 ebpv[0][1] = -0.417402664;
285 ebpv[0][2] = -0.180982288;
286 ebpv[1][0] = 0.00742727954;
287 ebpv[1][1] = 0.0140507459;
288 ebpv[1][2] = 0.00609045792;
289 ehp[0] = 0.903358544;
290 ehp[1] = -0.415395237;
291 ehp[2] = -0.180084014;
293 eraApcg(date1, date2, ebpv, ehp, &astrom);
295 vvd(astrom.
pmt, 12.65133794027378508, 1e-11,
296 "eraApcg",
"pmt", status);
297 vvd(astrom.
eb[0], 0.901310875, 1e-12,
298 "eraApcg",
"eb(1)", status);
299 vvd(astrom.
eb[1], -0.417402664, 1e-12,
300 "eraApcg",
"eb(2)", status);
301 vvd(astrom.
eb[2], -0.180982288, 1e-12,
302 "eraApcg",
"eb(3)", status);
303 vvd(astrom.
eh[0], 0.8940025429324143045, 1e-12,
304 "eraApcg",
"eh(1)", status);
305 vvd(astrom.
eh[1], -0.4110930268679817955, 1e-12,
306 "eraApcg",
"eh(2)", status);
307 vvd(astrom.
eh[2], -0.1782189004872870264, 1e-12,
308 "eraApcg",
"eh(3)", status);
309 vvd(astrom.
em, 1.010465295811013146, 1e-12,
310 "eraApcg",
"em", status);
311 vvd(astrom.
v[0], 0.4289638897813379954e-4, 1e-16,
312 "eraApcg",
"v(1_", status);
313 vvd(astrom.
v[1], 0.8115034021720941898e-4, 1e-16,
314 "eraApcg",
"v(2)", status);
315 vvd(astrom.
v[2], 0.3517555123437237778e-4, 1e-16,
316 "eraApcg",
"v(3)", status);
317 vvd(astrom.
bm1, 0.9999999951686013336, 1e-12,
318 "eraApcg",
"bm1", status);
319 vvd(astrom.
bpn[0][0], 1.0, 0.0,
320 "eraApcg",
"bpn(1,1)", status);
321 vvd(astrom.
bpn[1][0], 0.0, 0.0,
322 "eraApcg",
"bpn(2,1)", status);
323 vvd(astrom.
bpn[2][0], 0.0, 0.0,
324 "eraApcg",
"bpn(3,1)", status);
325 vvd(astrom.
bpn[0][1], 0.0, 0.0,
326 "eraApcg",
"bpn(1,2)", status);
327 vvd(astrom.
bpn[1][1], 1.0, 0.0,
328 "eraApcg",
"bpn(2,2)", status);
329 vvd(astrom.
bpn[2][1], 0.0, 0.0,
330 "eraApcg",
"bpn(3,2)", status);
331 vvd(astrom.
bpn[0][2], 0.0, 0.0,
332 "eraApcg",
"bpn(1,3)", status);
333 vvd(astrom.
bpn[1][2], 0.0, 0.0,
334 "eraApcg",
"bpn(2,3)", status);
335 vvd(astrom.
bpn[2][2], 1.0, 0.0,
336 "eraApcg",
"bpn(3,3)", status);
365 vvd(astrom.
pmt, 12.65133794027378508, 1e-11,
366 "eraApcg13",
"pmt", status);
367 vvd(astrom.
eb[0], 0.9013108747340644755, 1e-12,
368 "eraApcg13",
"eb(1)", status);
369 vvd(astrom.
eb[1], -0.4174026640406119957, 1e-12,
370 "eraApcg13",
"eb(2)", status);
371 vvd(astrom.
eb[2], -0.1809822877867817771, 1e-12,
372 "eraApcg13",
"eb(3)", status);
373 vvd(astrom.
eh[0], 0.8940025429255499549, 1e-12,
374 "eraApcg13",
"eh(1)", status);
375 vvd(astrom.
eh[1], -0.4110930268331896318, 1e-12,
376 "eraApcg13",
"eh(2)", status);
377 vvd(astrom.
eh[2], -0.1782189006019749850, 1e-12,
378 "eraApcg13",
"eh(3)", status);
379 vvd(astrom.
em, 1.010465295964664178, 1e-12,
380 "eraApcg13",
"em", status);
381 vvd(astrom.
v[0], 0.4289638897157027528e-4, 1e-16,
382 "eraApcg13",
"v(1)", status);
383 vvd(astrom.
v[1], 0.8115034002544663526e-4, 1e-16,
384 "eraApcg13",
"v(2)", status);
385 vvd(astrom.
v[2], 0.3517555122593144633e-4, 1e-16,
386 "eraApcg13",
"v(3)", status);
387 vvd(astrom.
bm1, 0.9999999951686013498, 1e-12,
388 "eraApcg13",
"bm1", status);
389 vvd(astrom.
bpn[0][0], 1.0, 0.0,
390 "eraApcg13",
"bpn(1,1)", status);
391 vvd(astrom.
bpn[1][0], 0.0, 0.0,
392 "eraApcg13",
"bpn(2,1)", status);
393 vvd(astrom.
bpn[2][0], 0.0, 0.0,
394 "eraApcg13",
"bpn(3,1)", status);
395 vvd(astrom.
bpn[0][1], 0.0, 0.0,
396 "eraApcg13",
"bpn(1,2)", status);
397 vvd(astrom.
bpn[1][1], 1.0, 0.0,
398 "eraApcg13",
"bpn(2,2)", status);
399 vvd(astrom.
bpn[2][1], 0.0, 0.0,
400 "eraApcg13",
"bpn(3,2)", status);
401 vvd(astrom.
bpn[0][2], 0.0, 0.0,
402 "eraApcg13",
"bpn(1,3)", status);
403 vvd(astrom.
bpn[1][2], 0.0, 0.0,
404 "eraApcg13",
"bpn(2,3)", status);
405 vvd(astrom.
bpn[2][2], 1.0, 0.0,
406 "eraApcg13",
"bpn(3,3)", status);
426 double date1, date2, ebpv[2][3], ehp[3], x, y, s;
432 ebpv[0][0] = 0.901310875;
433 ebpv[0][1] = -0.417402664;
434 ebpv[0][2] = -0.180982288;
435 ebpv[1][0] = 0.00742727954;
436 ebpv[1][1] = 0.0140507459;
437 ebpv[1][2] = 0.00609045792;
438 ehp[0] = 0.903358544;
439 ehp[1] = -0.415395237;
440 ehp[2] = -0.180084014;
445 eraApci(date1, date2, ebpv, ehp, x, y, s, &astrom);
447 vvd(astrom.
pmt, 12.65133794027378508, 1e-11,
448 "eraApci",
"pmt", status);
449 vvd(astrom.
eb[0], 0.901310875, 1e-12,
450 "eraApci",
"eb(1)", status);
451 vvd(astrom.
eb[1], -0.417402664, 1e-12,
452 "eraApci",
"eb(2)", status);
453 vvd(astrom.
eb[2], -0.180982288, 1e-12,
454 "eraApci",
"eb(3)", status);
455 vvd(astrom.
eh[0], 0.8940025429324143045, 1e-12,
456 "eraApci",
"eh(1)", status);
457 vvd(astrom.
eh[1], -0.4110930268679817955, 1e-12,
458 "eraApci",
"eh(2)", status);
459 vvd(astrom.
eh[2], -0.1782189004872870264, 1e-12,
460 "eraApci",
"eh(3)", status);
461 vvd(astrom.
em, 1.010465295811013146, 1e-12,
462 "eraApci",
"em", status);
463 vvd(astrom.
v[0], 0.4289638897813379954e-4, 1e-16,
464 "eraApci",
"v(1)", status);
465 vvd(astrom.
v[1], 0.8115034021720941898e-4, 1e-16,
466 "eraApci",
"v(2)", status);
467 vvd(astrom.
v[2], 0.3517555123437237778e-4, 1e-16,
468 "eraApci",
"v(3)", status);
469 vvd(astrom.
bm1, 0.9999999951686013336, 1e-12,
470 "eraApci",
"bm1", status);
471 vvd(astrom.
bpn[0][0], 0.9999991390295159156, 1e-12,
472 "eraApci",
"bpn(1,1)", status);
473 vvd(astrom.
bpn[1][0], 0.4978650072505016932e-7, 1e-12,
474 "eraApci",
"bpn(2,1)", status);
475 vvd(astrom.
bpn[2][0], 0.1312227200000000000e-2, 1e-12,
476 "eraApci",
"bpn(3,1)", status);
477 vvd(astrom.
bpn[0][1], -0.1136336653771609630e-7, 1e-12,
478 "eraApci",
"bpn(1,2)", status);
479 vvd(astrom.
bpn[1][1], 0.9999999995713154868, 1e-12,
480 "eraApci",
"bpn(2,2)", status);
481 vvd(astrom.
bpn[2][1], -0.2928086230000000000e-4, 1e-12,
482 "eraApci",
"bpn(3,2)", status);
483 vvd(astrom.
bpn[0][2], -0.1312227200895260194e-2, 1e-12,
484 "eraApci",
"bpn(1,3)", status);
485 vvd(astrom.
bpn[1][2], 0.2928082217872315680e-4, 1e-12,
486 "eraApci",
"bpn(2,3)", status);
487 vvd(astrom.
bpn[2][2], 0.9999991386008323373, 1e-12,
488 "eraApci",
"bpn(3,3)", status);
508 double date1, date2, eo;
517 vvd(astrom.
pmt, 12.65133794027378508, 1e-11,
518 "eraApci13",
"pmt", status);
519 vvd(astrom.
eb[0], 0.9013108747340644755, 1e-12,
520 "eraApci13",
"eb(1)", status);
521 vvd(astrom.
eb[1], -0.4174026640406119957, 1e-12,
522 "eraApci13",
"eb(2)", status);
523 vvd(astrom.
eb[2], -0.1809822877867817771, 1e-12,
524 "eraApci13",
"eb(3)", status);
525 vvd(astrom.
eh[0], 0.8940025429255499549, 1e-12,
526 "eraApci13",
"eh(1)", status);
527 vvd(astrom.
eh[1], -0.4110930268331896318, 1e-12,
528 "eraApci13",
"eh(2)", status);
529 vvd(astrom.
eh[2], -0.1782189006019749850, 1e-12,
530 "eraApci13",
"eh(3)", status);
531 vvd(astrom.
em, 1.010465295964664178, 1e-12,
532 "eraApci13",
"em", status);
533 vvd(astrom.
v[0], 0.4289638897157027528e-4, 1e-16,
534 "eraApci13",
"v(1)", status);
535 vvd(astrom.
v[1], 0.8115034002544663526e-4, 1e-16,
536 "eraApci13",
"v(2)", status);
537 vvd(astrom.
v[2], 0.3517555122593144633e-4, 1e-16,
538 "eraApci13",
"v(3)", status);
539 vvd(astrom.
bm1, 0.9999999951686013498, 1e-12,
540 "eraApci13",
"bm1", status);
541 vvd(astrom.
bpn[0][0], 0.9999992060376761710, 1e-12,
542 "eraApci13",
"bpn(1,1)", status);
543 vvd(astrom.
bpn[1][0], 0.4124244860106037157e-7, 1e-12,
544 "eraApci13",
"bpn(2,1)", status);
545 vvd(astrom.
bpn[2][0], 0.1260128571051709670e-2, 1e-12,
546 "eraApci13",
"bpn(3,1)", status);
547 vvd(astrom.
bpn[0][1], -0.1282291987222130690e-7, 1e-12,
548 "eraApci13",
"bpn(1,2)", status);
549 vvd(astrom.
bpn[1][1], 0.9999999997456835325, 1e-12,
550 "eraApci13",
"bpn(2,2)", status);
551 vvd(astrom.
bpn[2][1], -0.2255288829420524935e-4, 1e-12,
552 "eraApci13",
"bpn(3,2)", status);
553 vvd(astrom.
bpn[0][2], -0.1260128571661374559e-2, 1e-12,
554 "eraApci13",
"bpn(1,3)", status);
555 vvd(astrom.
bpn[1][2], 0.2255285422953395494e-4, 1e-12,
556 "eraApci13",
"bpn(2,3)", status);
557 vvd(astrom.
bpn[2][2], 0.9999992057833604343, 1e-12,
558 "eraApci13",
"bpn(3,3)", status);
559 vvd(eo, -0.2900618712657375647e-2, 1e-12,
560 "eraApci13",
"eo", status);
580 double date1, date2, ebpv[2][3], ehp[3], x, y, s,
581 theta, elong, phi, hm, xp, yp, sp, refa, refb;
587 ebpv[0][0] = -0.974170438;
588 ebpv[0][1] = -0.211520082;
589 ebpv[0][2] = -0.0917583024;
590 ebpv[1][0] = 0.00364365824;
591 ebpv[1][1] = -0.0154287319;
592 ebpv[1][2] = -0.00668922024;
593 ehp[0] = -0.973458265;
594 ehp[1] = -0.209215307;
595 ehp[2] = -0.0906996477;
600 elong = -0.527800806;
605 sp = -3.01974337e-11;
606 refa = 0.000201418779;
607 refb = -2.36140831e-7;
609 eraApco(date1, date2, ebpv, ehp, x, y, s,
610 theta, elong, phi, hm, xp, yp, sp,
611 refa, refb, &astrom);
613 vvd(astrom.
pmt, 13.25248468622587269, 1e-11,
614 "eraApco",
"pmt", status);
615 vvd(astrom.
eb[0], -0.9741827110630897003, 1e-12,
616 "eraApco",
"eb(1)", status);
617 vvd(astrom.
eb[1], -0.2115130190135014340, 1e-12,
618 "eraApco",
"eb(2)", status);
619 vvd(astrom.
eb[2], -0.09179840186968295686, 1e-12,
620 "eraApco",
"eb(3)", status);
621 vvd(astrom.
eh[0], -0.9736425571689670428, 1e-12,
622 "eraApco",
"eh(1)", status);
623 vvd(astrom.
eh[1], -0.2092452125848862201, 1e-12,
624 "eraApco",
"eh(2)", status);
625 vvd(astrom.
eh[2], -0.09075578152261439954, 1e-12,
626 "eraApco",
"eh(3)", status);
627 vvd(astrom.
em, 0.9998233241710617934, 1e-12,
628 "eraApco",
"em", status);
629 vvd(astrom.
v[0], 0.2078704985147609823e-4, 1e-16,
630 "eraApco",
"v(1)", status);
631 vvd(astrom.
v[1], -0.8955360074407552709e-4, 1e-16,
632 "eraApco",
"v(2)", status);
633 vvd(astrom.
v[2], -0.3863338980073114703e-4, 1e-16,
634 "eraApco",
"v(3)", status);
635 vvd(astrom.
bm1, 0.9999999950277561600, 1e-12,
636 "eraApco",
"bm1", status);
637 vvd(astrom.
bpn[0][0], 0.9999991390295159156, 1e-12,
638 "eraApco",
"bpn(1,1)", status);
639 vvd(astrom.
bpn[1][0], 0.4978650072505016932e-7, 1e-12,
640 "eraApco",
"bpn(2,1)", status);
641 vvd(astrom.
bpn[2][0], 0.1312227200000000000e-2, 1e-12,
642 "eraApco",
"bpn(3,1)", status);
643 vvd(astrom.
bpn[0][1], -0.1136336653771609630e-7, 1e-12,
644 "eraApco",
"bpn(1,2)", status);
645 vvd(astrom.
bpn[1][1], 0.9999999995713154868, 1e-12,
646 "eraApco",
"bpn(2,2)", status);
647 vvd(astrom.
bpn[2][1], -0.2928086230000000000e-4, 1e-12,
648 "eraApco",
"bpn(3,2)", status);
649 vvd(astrom.
bpn[0][2], -0.1312227200895260194e-2, 1e-12,
650 "eraApco",
"bpn(1,3)", status);
651 vvd(astrom.
bpn[1][2], 0.2928082217872315680e-4, 1e-12,
652 "eraApco",
"bpn(2,3)", status);
653 vvd(astrom.
bpn[2][2], 0.9999991386008323373, 1e-12,
654 "eraApco",
"bpn(3,3)", status);
655 vvd(astrom.
along, -0.5278008060301974337, 1e-12,
656 "eraApco",
"along", status);
657 vvd(astrom.
xpl, 0.1133427418174939329e-5, 1e-17,
658 "eraApco",
"xpl", status);
659 vvd(astrom.
ypl, 0.1453347595745898629e-5, 1e-17,
660 "eraApco",
"ypl", status);
661 vvd(astrom.
sphi, -0.9440115679003211329, 1e-12,
662 "eraApco",
"sphi", status);
663 vvd(astrom.
cphi, 0.3299123514971474711, 1e-12,
664 "eraApco",
"cphi", status);
666 "eraApco",
"diurab", status);
667 vvd(astrom.
eral, 2.617608903969802566, 1e-12,
668 "eraApco",
"eral", status);
669 vvd(astrom.
refa, 0.2014187790000000000e-3, 1e-15,
670 "eraApco",
"refa", status);
671 vvd(astrom.
refb, -0.2361408310000000000e-6, 1e-18,
672 "eraApco",
"refb", status);
692 double utc1, utc2, dut1, elong, phi, hm, xp, yp,
693 phpa, tc, rh, wl, eo;
701 elong = -0.527800806;
711 j =
eraApco13(utc1, utc2, dut1, elong, phi, hm, xp, yp,
712 phpa, tc, rh, wl, &astrom, &eo);
714 vvd(astrom.
pmt, 13.25248468622475727, 1e-11,
715 "eraApco13",
"pmt", status);
716 vvd(astrom.
eb[0], -0.9741827107321449445, 1e-12,
717 "eraApco13",
"eb(1)", status);
718 vvd(astrom.
eb[1], -0.2115130190489386190, 1e-12,
719 "eraApco13",
"eb(2)", status);
720 vvd(astrom.
eb[2], -0.09179840189515518726, 1e-12,
721 "eraApco13",
"eb(3)", status);
722 vvd(astrom.
eh[0], -0.9736425572586866640, 1e-12,
723 "eraApco13",
"eh(1)", status);
724 vvd(astrom.
eh[1], -0.2092452121602867431, 1e-12,
725 "eraApco13",
"eh(2)", status);
726 vvd(astrom.
eh[2], -0.09075578153903832650, 1e-12,
727 "eraApco13",
"eh(3)", status);
728 vvd(astrom.
em, 0.9998233240914558422, 1e-12,
729 "eraApco13",
"em", status);
730 vvd(astrom.
v[0], 0.2078704986751370303e-4, 1e-16,
731 "eraApco13",
"v(1)", status);
732 vvd(astrom.
v[1], -0.8955360100494469232e-4, 1e-16,
733 "eraApco13",
"v(2)", status);
734 vvd(astrom.
v[2], -0.3863338978840051024e-4, 1e-16,
735 "eraApco13",
"v(3)", status);
736 vvd(astrom.
bm1, 0.9999999950277561368, 1e-12,
737 "eraApco13",
"bm1", status);
738 vvd(astrom.
bpn[0][0], 0.9999991390295147999, 1e-12,
739 "eraApco13",
"bpn(1,1)", status);
740 vvd(astrom.
bpn[1][0], 0.4978650075315529277e-7, 1e-12,
741 "eraApco13",
"bpn(2,1)", status);
742 vvd(astrom.
bpn[2][0], 0.001312227200850293372, 1e-12,
743 "eraApco13",
"bpn(3,1)", status);
744 vvd(astrom.
bpn[0][1], -0.1136336652812486604e-7, 1e-12,
745 "eraApco13",
"bpn(1,2)", status);
746 vvd(astrom.
bpn[1][1], 0.9999999995713154865, 1e-12,
747 "eraApco13",
"bpn(2,2)", status);
748 vvd(astrom.
bpn[2][1], -0.2928086230975367296e-4, 1e-12,
749 "eraApco13",
"bpn(3,2)", status);
750 vvd(astrom.
bpn[0][2], -0.001312227201745553566, 1e-12,
751 "eraApco13",
"bpn(1,3)", status);
752 vvd(astrom.
bpn[1][2], 0.2928082218847679162e-4, 1e-12,
753 "eraApco13",
"bpn(2,3)", status);
754 vvd(astrom.
bpn[2][2], 0.9999991386008312212, 1e-12,
755 "eraApco13",
"bpn(3,3)", status);
756 vvd(astrom.
along, -0.5278008060301974337, 1e-12,
757 "eraApco13",
"along", status);
758 vvd(astrom.
xpl, 0.1133427418174939329e-5, 1e-17,
759 "eraApco13",
"xpl", status);
760 vvd(astrom.
ypl, 0.1453347595745898629e-5, 1e-17,
761 "eraApco13",
"ypl", status);
762 vvd(astrom.
sphi, -0.9440115679003211329, 1e-12,
763 "eraApco13",
"sphi", status);
764 vvd(astrom.
cphi, 0.3299123514971474711, 1e-12,
765 "eraApco13",
"cphi", status);
767 "eraApco13",
"diurab", status);
768 vvd(astrom.
eral, 2.617608909189066140, 1e-12,
769 "eraApco13",
"eral", status);
770 vvd(astrom.
refa, 0.2014187785940396921e-3, 1e-15,
771 "eraApco13",
"refa", status);
772 vvd(astrom.
refb, -0.2361408314943696227e-6, 1e-18,
773 "eraApco13",
"refb", status);
774 vvd(eo, -0.003020548354802412839, 1e-14,
775 "eraApco13",
"eo", status);
776 viv(j, 0,
"eraApco13",
"j", status);
796 double date1, date2, pv[2][3], ebpv[2][3], ehp[3];
802 pv[0][0] = -1836024.09;
803 pv[0][1] = 1056607.72;
804 pv[0][2] = -5998795.26;
805 pv[1][0] = -77.0361767;
806 pv[1][1] = -133.310856;
807 pv[1][2] = 0.0971855934;
808 ebpv[0][0] = -0.974170438;
809 ebpv[0][1] = -0.211520082;
810 ebpv[0][2] = -0.0917583024;
811 ebpv[1][0] = 0.00364365824;
812 ebpv[1][1] = -0.0154287319;
813 ebpv[1][2] = -0.00668922024;
814 ehp[0] = -0.973458265;
815 ehp[1] = -0.209215307;
816 ehp[2] = -0.0906996477;
818 eraApcs(date1, date2, pv, ebpv, ehp, &astrom);
820 vvd(astrom.
pmt, 13.25248468622587269, 1e-11,
821 "eraApcs",
"pmt", status);
822 vvd(astrom.
eb[0], -0.9741827110630456169, 1e-12,
823 "eraApcs",
"eb(1)", status);
824 vvd(astrom.
eb[1], -0.2115130190136085494, 1e-12,
825 "eraApcs",
"eb(2)", status);
826 vvd(astrom.
eb[2], -0.09179840186973175487, 1e-12,
827 "eraApcs",
"eb(3)", status);
828 vvd(astrom.
eh[0], -0.9736425571689386099, 1e-12,
829 "eraApcs",
"eh(1)", status);
830 vvd(astrom.
eh[1], -0.2092452125849967195, 1e-12,
831 "eraApcs",
"eh(2)", status);
832 vvd(astrom.
eh[2], -0.09075578152266466572, 1e-12,
833 "eraApcs",
"eh(3)", status);
834 vvd(astrom.
em, 0.9998233241710457140, 1e-12,
835 "eraApcs",
"em", status);
836 vvd(astrom.
v[0], 0.2078704985513566571e-4, 1e-16,
837 "eraApcs",
"v(1)", status);
838 vvd(astrom.
v[1], -0.8955360074245006073e-4, 1e-16,
839 "eraApcs",
"v(2)", status);
840 vvd(astrom.
v[2], -0.3863338980073572719e-4, 1e-16,
841 "eraApcs",
"v(3)", status);
842 vvd(astrom.
bm1, 0.9999999950277561601, 1e-12,
843 "eraApcs",
"bm1", status);
844 vvd(astrom.
bpn[0][0], 1, 0,
845 "eraApcs",
"bpn(1,1)", status);
846 vvd(astrom.
bpn[1][0], 0, 0,
847 "eraApcs",
"bpn(2,1)", status);
848 vvd(astrom.
bpn[2][0], 0, 0,
849 "eraApcs",
"bpn(3,1)", status);
850 vvd(astrom.
bpn[0][1], 0, 0,
851 "eraApcs",
"bpn(1,2)", status);
852 vvd(astrom.
bpn[1][1], 1, 0,
853 "eraApcs",
"bpn(2,2)", status);
854 vvd(astrom.
bpn[2][1], 0, 0,
855 "eraApcs",
"bpn(3,2)", status);
856 vvd(astrom.
bpn[0][2], 0, 0,
857 "eraApcs",
"bpn(1,3)", status);
858 vvd(astrom.
bpn[1][2], 0, 0,
859 "eraApcs",
"bpn(2,3)", status);
860 vvd(astrom.
bpn[2][2], 1, 0,
861 "eraApcs",
"bpn(3,3)", status);
881 double date1, date2, pv[2][3];
887 pv[0][0] = -6241497.16;
888 pv[0][1] = 401346.896;
889 pv[0][2] = -1251136.04;
890 pv[1][0] = -29.264597;
891 pv[1][1] = -455.021831;
892 pv[1][2] = 0.0266151194;
896 vvd(astrom.
pmt, 12.65133794027378508, 1e-11,
897 "eraApcs13",
"pmt", status);
898 vvd(astrom.
eb[0], 0.9012691529023298391, 1e-12,
899 "eraApcs13",
"eb(1)", status);
900 vvd(astrom.
eb[1], -0.4173999812023068781, 1e-12,
901 "eraApcs13",
"eb(2)", status);
902 vvd(astrom.
eb[2], -0.1809906511146821008, 1e-12,
903 "eraApcs13",
"eb(3)", status);
904 vvd(astrom.
eh[0], 0.8939939101759726824, 1e-12,
905 "eraApcs13",
"eh(1)", status);
906 vvd(astrom.
eh[1], -0.4111053891734599955, 1e-12,
907 "eraApcs13",
"eh(2)", status);
908 vvd(astrom.
eh[2], -0.1782336880637689334, 1e-12,
909 "eraApcs13",
"eh(3)", status);
910 vvd(astrom.
em, 1.010428384373318379, 1e-12,
911 "eraApcs13",
"em", status);
912 vvd(astrom.
v[0], 0.4279877278327626511e-4, 1e-16,
913 "eraApcs13",
"v(1)", status);
914 vvd(astrom.
v[1], 0.7963255057040027770e-4, 1e-16,
915 "eraApcs13",
"v(2)", status);
916 vvd(astrom.
v[2], 0.3517564000441374759e-4, 1e-16,
917 "eraApcs13",
"v(3)", status);
918 vvd(astrom.
bm1, 0.9999999952947981330, 1e-12,
919 "eraApcs13",
"bm1", status);
920 vvd(astrom.
bpn[0][0], 1, 0,
921 "eraApcs13",
"bpn(1,1)", status);
922 vvd(astrom.
bpn[1][0], 0, 0,
923 "eraApcs13",
"bpn(2,1)", status);
924 vvd(astrom.
bpn[2][0], 0, 0,
925 "eraApcs13",
"bpn(3,1)", status);
926 vvd(astrom.
bpn[0][1], 0, 0,
927 "eraApcs13",
"bpn(1,2)", status);
928 vvd(astrom.
bpn[1][1], 1, 0,
929 "eraApcs13",
"bpn(2,2)", status);
930 vvd(astrom.
bpn[2][1], 0, 0,
931 "eraApcs13",
"bpn(3,2)", status);
932 vvd(astrom.
bpn[0][2], 0, 0,
933 "eraApcs13",
"bpn(1,3)", status);
934 vvd(astrom.
bpn[1][2], 0, 0,
935 "eraApcs13",
"bpn(2,3)", status);
936 vvd(astrom.
bpn[2][2], 1, 0,
937 "eraApcs13",
"bpn(3,3)", status);
961 astrom.
along = 1.234;
966 vvd(astrom.
eral, 6.912000000000000000, 1e-12,
967 "eraAper",
"pmt", status);
991 astrom.
along = 1.234;
997 vvd(astrom.
eral, 3.316236661789694933, 1e-12,
998 "eraAper13",
"pmt", status);
1018 double sp, theta, elong, phi, hm, xp, yp, refa, refb;
1022 sp = -3.01974337e-11;
1024 elong = -0.527800806;
1029 refa = 0.000201418779;
1030 refb = -2.36140831e-7;
1032 eraApio(sp, theta, elong, phi, hm, xp, yp, refa, refb, &astrom);
1034 vvd(astrom.
along, -0.5278008060301974337, 1e-12,
1035 "eraApio",
"along", status);
1036 vvd(astrom.
xpl, 0.1133427418174939329e-5, 1e-17,
1037 "eraApio",
"xpl", status);
1038 vvd(astrom.
ypl, 0.1453347595745898629e-5, 1e-17,
1039 "eraApio",
"ypl", status);
1040 vvd(astrom.
sphi, -0.9440115679003211329, 1e-12,
1041 "eraApio",
"sphi", status);
1042 vvd(astrom.
cphi, 0.3299123514971474711, 1e-12,
1043 "eraApio",
"cphi", status);
1044 vvd(astrom.
diurab, 0.5135843661699913529e-6, 1e-12,
1045 "eraApio",
"diurab", status);
1046 vvd(astrom.
eral, 2.617608903969802566, 1e-12,
1047 "eraApio",
"eral", status);
1048 vvd(astrom.
refa, 0.2014187790000000000e-3, 1e-15,
1049 "eraApio",
"refa", status);
1050 vvd(astrom.
refb, -0.2361408310000000000e-6, 1e-18,
1051 "eraApio",
"refb", status);
1071 double utc1, utc2, dut1, elong, phi, hm, xp, yp, phpa, tc, rh, wl;
1079 elong = -0.527800806;
1089 j =
eraApio13(utc1, utc2, dut1, elong, phi, hm, xp, yp,
1090 phpa, tc, rh, wl, &astrom);
1092 vvd(astrom.
along, -0.5278008060301974337, 1e-12,
1093 "eraApio13",
"along", status);
1094 vvd(astrom.
xpl, 0.1133427418174939329e-5, 1e-17,
1095 "eraApio13",
"xpl", status);
1096 vvd(astrom.
ypl, 0.1453347595745898629e-5, 1e-17,
1097 "eraApio13",
"ypl", status);
1098 vvd(astrom.
sphi, -0.9440115679003211329, 1e-12,
1099 "eraApio13",
"sphi", status);
1100 vvd(astrom.
cphi, 0.3299123514971474711, 1e-12,
1101 "eraApio13",
"cphi", status);
1102 vvd(astrom.
diurab, 0.5135843661699913529e-6, 1e-12,
1103 "eraApio13",
"diurab", status);
1104 vvd(astrom.
eral, 2.617608909189066140, 1e-12,
1105 "eraApio13",
"eral", status);
1106 vvd(astrom.
refa, 0.2014187785940396921e-3, 1e-15,
1107 "eraApio13",
"refa", status);
1108 vvd(astrom.
refb, -0.2361408314943696227e-6, 1e-18,
1109 "eraApio13",
"refb", status);
1110 viv(j, 0,
"eraApio13",
"j", status);
1130 double rc, dc, pr, pd, px, rv, date1, date2, ri, di, eo;
1140 date2 = 0.401182685;
1142 eraAtci13(rc, dc, pr, pd, px, rv, date1, date2, &ri, &di, &eo);
1144 vvd(ri, 2.710121572969038991, 1e-12,
1145 "eraAtci13",
"ri", status);
1146 vvd(di, 0.1729371367218230438, 1e-12,
1147 "eraAtci13",
"di", status);
1148 vvd(eo, -0.002900618712657375647, 1e-14,
1149 "eraAtci13",
"eo", status);
1169 double date1, date2, eo, rc, dc, pr, pd, px, rv, ri, di;
1173 date2 = 0.401182685;
1182 eraAtciq(rc, dc, pr, pd, px, rv, &astrom, &ri, &di);
1184 vvd(ri, 2.710121572969038991, 1e-12,
"eraAtciq",
"ri", status);
1185 vvd(di, 0.1729371367218230438, 1e-12,
"eraAtciq",
"di", status);
1206 double date1, date2, eo, rc, dc, pr, pd, px, rv, ri, di;
1210 date2 = 0.401182685;
1218 b[0].
bm = 0.00028574;
1220 b[0].
pv[0][0] = -7.81014427;
1221 b[0].
pv[0][1] = -5.60956681;
1222 b[0].
pv[0][2] = -1.98079819;
1223 b[0].
pv[1][0] = 0.0030723249;
1224 b[0].
pv[1][1] = -0.00406995477;
1225 b[0].
pv[1][2] = -0.00181335842;
1226 b[1].
bm = 0.00095435;
1228 b[1].
pv[0][0] = 0.738098796;
1229 b[1].
pv[0][1] = 4.63658692;
1230 b[1].
pv[0][2] = 1.9693136;
1231 b[1].
pv[1][0] = -0.00755816922;
1232 b[1].
pv[1][1] = 0.00126913722;
1233 b[1].
pv[1][2] = 0.000727999001;
1236 b[2].
pv[0][0] = -0.000712174377;
1237 b[2].
pv[0][1] = -0.00230478303;
1238 b[2].
pv[0][2] = -0.00105865966;
1239 b[2].
pv[1][0] = 6.29235213e-6;
1240 b[2].
pv[1][1] = -3.30888387e-7;
1241 b[2].
pv[1][2] = -2.96486623e-7;
1243 eraAtciqn ( rc, dc, pr, pd, px, rv, &astrom, 3, b, &ri, &di);
1245 vvd(ri, 2.710122008105325582, 1e-12,
"eraAtciqn",
"ri", status);
1246 vvd(di, 0.1729371916491459122, 1e-12,
"eraAtciqn",
"di", status);
1266 double date1, date2, eo, rc, dc, ri, di;
1271 date2 = 0.401182685;
1278 vvd(ri, 2.709994899247599271, 1e-12,
"eraAtciqz",
"ri", status);
1279 vvd(di, 0.1728740720983623469, 1e-12,
"eraAtciqz",
"di", status);
1299 double rc, dc, pr, pd, px, rv, utc1, utc2, dut1,
1300 elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1301 aob, zob, hob, dob, rob, eo;
1314 elong = -0.527800806;
1325 utc1, utc2, dut1, elong, phi, hm, xp, yp,
1327 &aob, &zob, &hob, &dob, &rob, &eo);
1329 vvd(aob, 0.09251774485358230653, 1e-12,
"eraAtco13",
"aob", status);
1330 vvd(zob, 1.407661405256767021, 1e-12,
"eraAtco13",
"zob", status);
1331 vvd(hob, -0.09265154431403157925, 1e-12,
"eraAtco13",
"hob", status);
1332 vvd(dob, 0.1716626560075591655, 1e-12,
"eraAtco13",
"dob", status);
1333 vvd(rob, 2.710260453503097719, 1e-12,
"eraAtco13",
"rob", status);
1334 vvd(eo, -0.003020548354802412839, 1e-14,
"eraAtco13",
"eo", status);
1335 viv(j, 0,
"eraAtco13",
"j", status);
1355 double ri, di, date1, date2, rc, dc, eo;
1358 ri = 2.710121572969038991;
1359 di = 0.1729371367218230438;
1361 date2 = 0.401182685;
1363 eraAtic13(ri, di, date1, date2, &rc, &dc, &eo);
1365 vvd(rc, 2.710126504531374930, 1e-12,
"eraAtic13",
"rc", status);
1366 vvd(dc, 0.1740632537628342320, 1e-12,
"eraAtic13",
"dc", status);
1367 vvd(eo, -0.002900618712657375647, 1e-14,
"eraAtic13",
"eo", status);
1387 double date1, date2, eo, ri, di, rc, dc;
1392 date2 = 0.401182685;
1394 ri = 2.710121572969038991;
1395 di = 0.1729371367218230438;
1397 eraAticq(ri, di, &astrom, &rc, &dc);
1399 vvd(rc, 2.710126504531374930, 1e-12,
"eraAticq",
"rc", status);
1400 vvd(dc, 0.1740632537628342320, 1e-12,
"eraAticq",
"dc", status);
1420 double date1, date2, eo, ri, di, rc, dc;
1426 date2 = 0.401182685;
1428 ri = 2.709994899247599271;
1429 di = 0.1728740720983623469;
1430 b[0].
bm = 0.00028574;
1432 b[0].
pv[0][0] = -7.81014427;
1433 b[0].
pv[0][1] = -5.60956681;
1434 b[0].
pv[0][2] = -1.98079819;
1435 b[0].
pv[1][0] = 0.0030723249;
1436 b[0].
pv[1][1] = -0.00406995477;
1437 b[0].
pv[1][2] = -0.00181335842;
1438 b[1].
bm = 0.00095435;
1440 b[1].
pv[0][0] = 0.738098796;
1441 b[1].
pv[0][1] = 4.63658692;
1442 b[1].
pv[0][2] = 1.9693136;
1443 b[1].
pv[1][0] = -0.00755816922;
1444 b[1].
pv[1][1] = 0.00126913722;
1445 b[1].
pv[1][2] = 0.000727999001;
1448 b[2].
pv[0][0] = -0.000712174377;
1449 b[2].
pv[0][1] = -0.00230478303;
1450 b[2].
pv[0][2] = -0.00105865966;
1451 b[2].
pv[1][0] = 6.29235213e-6;
1452 b[2].
pv[1][1] = -3.30888387e-7;
1453 b[2].
pv[1][2] = -2.96486623e-7;
1455 eraAticqn(ri, di, &astrom, 3, b, &rc, &dc);
1457 vvd(rc, 2.709999575032685412, 1e-12,
"eraAtciqn",
"rc", status);
1458 vvd(dc, 0.1739999656317778034, 1e-12,
"eraAtciqn",
"dc", status);
1478 double ri, di, utc1, utc2, dut1, elong, phi, hm, xp, yp,
1479 phpa, tc, rh, wl, aob, zob, hob, dob, rob;
1483 ri = 2.710121572969038991;
1484 di = 0.1729371367218230438;
1488 elong = -0.527800806;
1498 j =
eraAtio13(ri, di, utc1, utc2, dut1, elong, phi, hm,
1499 xp, yp, phpa, tc, rh, wl,
1500 &aob, &zob, &hob, &dob, &rob);
1502 vvd(aob, 0.09233952224794989993, 1e-12,
"eraAtio13",
"aob", status);
1503 vvd(zob, 1.407758704513722461, 1e-12,
"eraAtio13",
"zob", status);
1504 vvd(hob, -0.09247619879782006106, 1e-12,
"eraAtio13",
"hob", status);
1505 vvd(dob, 0.1717653435758265198, 1e-12,
"eraAtio13",
"dob", status);
1506 vvd(rob, 2.710085107986886201, 1e-12,
"eraAtio13",
"rob", status);
1507 viv(j, 0,
"eraAtio13",
"j", status);
1527 double utc1, utc2, dut1, elong, phi, hm, xp, yp,
1528 phpa, tc, rh, wl, ri, di, aob, zob, hob, dob, rob;
1535 elong = -0.527800806;
1544 (void)
eraApio13(utc1, utc2, dut1, elong, phi, hm, xp, yp,
1545 phpa, tc, rh, wl, &astrom);
1546 ri = 2.710121572969038991;
1547 di = 0.1729371367218230438;
1549 eraAtioq(ri, di, &astrom, &aob, &zob, &hob, &dob, &rob);
1551 vvd(aob, 0.09233952224794989993, 1e-12,
"eraAtioq",
"aob", status);
1552 vvd(zob, 1.407758704513722461, 1e-12,
"eraAtioq",
"zob", status);
1553 vvd(hob, -0.09247619879782006106, 1e-12,
"eraAtioq",
"hob", status);
1554 vvd(dob, 0.1717653435758265198, 1e-12,
"eraAtioq",
"dob", status);
1555 vvd(rob, 2.710085107986886201, 1e-12,
"eraAtioq",
"rob", status);
1575 double utc1, utc2, dut1,
1576 elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1584 elong = -0.527800806;
1594 ob1 = 2.710085107986886201;
1595 ob2 = 0.1717653435758265198;
1596 j =
eraAtoc13 (
"R", ob1, ob2, utc1, utc2, dut1,
1597 elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1599 vvd(rc, 2.709956744661000609, 1e-12,
"eraAtoc13",
"R/rc", status);
1600 vvd(dc, 0.1741696500895398562, 1e-12,
"eraAtoc13",
"R/dc", status);
1601 viv(j, 0,
"eraAtoc13",
"R/j", status);
1603 ob1 = -0.09247619879782006106;
1604 ob2 = 0.1717653435758265198;
1605 j =
eraAtoc13 (
"H", ob1, ob2, utc1, utc2, dut1,
1606 elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1608 vvd(rc, 2.709956744661000609, 1e-12,
"eraAtoc13",
"H/rc", status);
1609 vvd(dc, 0.1741696500895398562, 1e-12,
"eraAtoc13",
"H/dc", status);
1610 viv(j, 0,
"eraAtoc13",
"H/j", status);
1612 ob1 = 0.09233952224794989993;
1613 ob2 = 1.407758704513722461;
1614 j =
eraAtoc13 (
"A", ob1, ob2, utc1, utc2, dut1,
1615 elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1617 vvd(rc, 2.709956744661000609, 1e-12,
"eraAtoc13",
"A/rc", status);
1618 vvd(dc, 0.1741696500895398565, 1e-12,
"eraAtoc13",
"A/dc", status);
1619 viv(j, 0,
"eraAtoc13",
"A/j", status);
1639 double utc1, utc2, dut1, elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1647 elong = -0.527800806;
1657 ob1 = 2.710085107986886201;
1658 ob2 = 0.1717653435758265198;
1659 j =
eraAtoi13 (
"R", ob1, ob2, utc1, utc2, dut1,
1660 elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1662 vvd(ri, 2.710121574449135955, 1e-12,
"eraAtoi13",
"R/ri", status);
1663 vvd(di, 0.1729371839114567725, 1e-12,
"eraAtoi13",
"R/di", status);
1664 viv(j, 0,
"eraAtoi13",
"R/J", status);
1666 ob1 = -0.09247619879782006106;
1667 ob2 = 0.1717653435758265198;
1668 j =
eraAtoi13 (
"H", ob1, ob2, utc1, utc2, dut1,
1669 elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1671 vvd(ri, 2.710121574449135955, 1e-12,
"eraAtoi13",
"H/ri", status);
1672 vvd(di, 0.1729371839114567725, 1e-12,
"eraAtoi13",
"H/di", status);
1673 viv(j, 0,
"eraAtoi13",
"H/J", status);
1675 ob1 = 0.09233952224794989993;
1676 ob2 = 1.407758704513722461;
1677 j =
eraAtoi13 (
"A", ob1, ob2, utc1, utc2, dut1,
1678 elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1680 vvd(ri, 2.710121574449135955, 1e-12,
"eraAtoi13",
"A/ri", status);
1681 vvd(di, 0.1729371839114567728, 1e-12,
"eraAtoi13",
"A/di", status);
1682 viv(j, 0,
"eraAtoi13",
"A/J", status);
1702 double utc1, utc2, dut1, elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1710 elong = -0.527800806;
1719 (void)
eraApio13(utc1, utc2, dut1, elong, phi, hm, xp, yp,
1720 phpa, tc, rh, wl, &astrom);
1722 ob1 = 2.710085107986886201;
1723 ob2 = 0.1717653435758265198;
1724 eraAtoiq(
"R", ob1, ob2, &astrom, &ri, &di);
1725 vvd(ri, 2.710121574449135955, 1e-12,
1726 "eraAtoiq",
"R/ri", status);
1727 vvd(di, 0.1729371839114567725, 1e-12,
1728 "eraAtoiq",
"R/di", status);
1730 ob1 = -0.09247619879782006106;
1731 ob2 = 0.1717653435758265198;
1732 eraAtoiq(
"H", ob1, ob2, &astrom, &ri, &di);
1733 vvd(ri, 2.710121574449135955, 1e-12,
1734 "eraAtoiq",
"H/ri", status);
1735 vvd(di, 0.1729371839114567725, 1e-12,
1736 "eraAtoiq",
"H/di", status);
1738 ob1 = 0.09233952224794989993;
1739 ob2 = 1.407758704513722461;
1740 eraAtoiq(
"A", ob1, ob2, &astrom, &ri, &di);
1741 vvd(ri, 2.710121574449135955, 1e-12,
1742 "eraAtoiq",
"A/ri", status);
1743 vvd(di, 0.1729371839114567728, 1e-12,
1744 "eraAtoiq",
"A/di", status);
1764 double dpsibi, depsbi, dra;
1766 eraBi00(&dpsibi, &depsbi, &dra);
1768 vvd(dpsibi, -0.2025309152835086613e-6, 1e-12,
1769 "eraBi00",
"dpsibi", status);
1770 vvd(depsbi, -0.3306041454222147847e-7, 1e-12,
1771 "eraBi00",
"depsbi", status);
1772 vvd(dra, -0.7078279744199225506e-7, 1e-12,
1773 "eraBi00",
"dra", status);
1792 double rb[3][3], rp[3][3], rbp[3][3];
1795 eraBp00(2400000.5, 50123.9999, rb, rp, rbp);
1797 vvd(rb[0][0], 0.9999999999999942498, 1e-12,
1798 "eraBp00",
"rb11", status);
1799 vvd(rb[0][1], -0.7078279744199196626e-7, 1e-16,
1800 "eraBp00",
"rb12", status);
1801 vvd(rb[0][2], 0.8056217146976134152e-7, 1e-16,
1802 "eraBp00",
"rb13", status);
1803 vvd(rb[1][0], 0.7078279477857337206e-7, 1e-16,
1804 "eraBp00",
"rb21", status);
1805 vvd(rb[1][1], 0.9999999999999969484, 1e-12,
1806 "eraBp00",
"rb22", status);
1807 vvd(rb[1][2], 0.3306041454222136517e-7, 1e-16,
1808 "eraBp00",
"rb23", status);
1809 vvd(rb[2][0], -0.8056217380986972157e-7, 1e-16,
1810 "eraBp00",
"rb31", status);
1811 vvd(rb[2][1], -0.3306040883980552500e-7, 1e-16,
1812 "eraBp00",
"rb32", status);
1813 vvd(rb[2][2], 0.9999999999999962084, 1e-12,
1814 "eraBp00",
"rb33", status);
1816 vvd(rp[0][0], 0.9999995504864048241, 1e-12,
1817 "eraBp00",
"rp11", status);
1818 vvd(rp[0][1], 0.8696113836207084411e-3, 1e-14,
1819 "eraBp00",
"rp12", status);
1820 vvd(rp[0][2], 0.3778928813389333402e-3, 1e-14,
1821 "eraBp00",
"rp13", status);
1822 vvd(rp[1][0], -0.8696113818227265968e-3, 1e-14,
1823 "eraBp00",
"rp21", status);
1824 vvd(rp[1][1], 0.9999996218879365258, 1e-12,
1825 "eraBp00",
"rp22", status);
1826 vvd(rp[1][2], -0.1690679263009242066e-6, 1e-14,
1827 "eraBp00",
"rp23", status);
1828 vvd(rp[2][0], -0.3778928854764695214e-3, 1e-14,
1829 "eraBp00",
"rp31", status);
1830 vvd(rp[2][1], -0.1595521004195286491e-6, 1e-14,
1831 "eraBp00",
"rp32", status);
1832 vvd(rp[2][2], 0.9999999285984682756, 1e-12,
1833 "eraBp00",
"rp33", status);
1835 vvd(rbp[0][0], 0.9999995505175087260, 1e-12,
1836 "eraBp00",
"rbp11", status);
1837 vvd(rbp[0][1], 0.8695405883617884705e-3, 1e-14,
1838 "eraBp00",
"rbp12", status);
1839 vvd(rbp[0][2], 0.3779734722239007105e-3, 1e-14,
1840 "eraBp00",
"rbp13", status);
1841 vvd(rbp[1][0], -0.8695405990410863719e-3, 1e-14,
1842 "eraBp00",
"rbp21", status);
1843 vvd(rbp[1][1], 0.9999996219494925900, 1e-12,
1844 "eraBp00",
"rbp22", status);
1845 vvd(rbp[1][2], -0.1360775820404982209e-6, 1e-14,
1846 "eraBp00",
"rbp23", status);
1847 vvd(rbp[2][0], -0.3779734476558184991e-3, 1e-14,
1848 "eraBp00",
"rbp31", status);
1849 vvd(rbp[2][1], -0.1925857585832024058e-6, 1e-14,
1850 "eraBp00",
"rbp32", status);
1851 vvd(rbp[2][2], 0.9999999285680153377, 1e-12,
1852 "eraBp00",
"rbp33", status);
1871 double rb[3][3], rp[3][3], rbp[3][3];
1874 eraBp06(2400000.5, 50123.9999, rb, rp, rbp);
1876 vvd(rb[0][0], 0.9999999999999942497, 1e-12,
1877 "eraBp06",
"rb11", status);
1878 vvd(rb[0][1], -0.7078368960971557145e-7, 1e-14,
1879 "eraBp06",
"rb12", status);
1880 vvd(rb[0][2], 0.8056213977613185606e-7, 1e-14,
1881 "eraBp06",
"rb13", status);
1882 vvd(rb[1][0], 0.7078368694637674333e-7, 1e-14,
1883 "eraBp06",
"rb21", status);
1884 vvd(rb[1][1], 0.9999999999999969484, 1e-12,
1885 "eraBp06",
"rb22", status);
1886 vvd(rb[1][2], 0.3305943742989134124e-7, 1e-14,
1887 "eraBp06",
"rb23", status);
1888 vvd(rb[2][0], -0.8056214211620056792e-7, 1e-14,
1889 "eraBp06",
"rb31", status);
1890 vvd(rb[2][1], -0.3305943172740586950e-7, 1e-14,
1891 "eraBp06",
"rb32", status);
1892 vvd(rb[2][2], 0.9999999999999962084, 1e-12,
1893 "eraBp06",
"rb33", status);
1895 vvd(rp[0][0], 0.9999995504864960278, 1e-12,
1896 "eraBp06",
"rp11", status);
1897 vvd(rp[0][1], 0.8696112578855404832e-3, 1e-14,
1898 "eraBp06",
"rp12", status);
1899 vvd(rp[0][2], 0.3778929293341390127e-3, 1e-14,
1900 "eraBp06",
"rp13", status);
1901 vvd(rp[1][0], -0.8696112560510186244e-3, 1e-14,
1902 "eraBp06",
"rp21", status);
1903 vvd(rp[1][1], 0.9999996218880458820, 1e-12,
1904 "eraBp06",
"rp22", status);
1905 vvd(rp[1][2], -0.1691646168941896285e-6, 1e-14,
1906 "eraBp06",
"rp23", status);
1907 vvd(rp[2][0], -0.3778929335557603418e-3, 1e-14,
1908 "eraBp06",
"rp31", status);
1909 vvd(rp[2][1], -0.1594554040786495076e-6, 1e-14,
1910 "eraBp06",
"rp32", status);
1911 vvd(rp[2][2], 0.9999999285984501222, 1e-12,
1912 "eraBp06",
"rp33", status);
1914 vvd(rbp[0][0], 0.9999995505176007047, 1e-12,
1915 "eraBp06",
"rbp11", status);
1916 vvd(rbp[0][1], 0.8695404617348208406e-3, 1e-14,
1917 "eraBp06",
"rbp12", status);
1918 vvd(rbp[0][2], 0.3779735201865589104e-3, 1e-14,
1919 "eraBp06",
"rbp13", status);
1920 vvd(rbp[1][0], -0.8695404723772031414e-3, 1e-14,
1921 "eraBp06",
"rbp21", status);
1922 vvd(rbp[1][1], 0.9999996219496027161, 1e-12,
1923 "eraBp06",
"rbp22", status);
1924 vvd(rbp[1][2], -0.1361752497080270143e-6, 1e-14,
1925 "eraBp06",
"rbp23", status);
1926 vvd(rbp[2][0], -0.3779734957034089490e-3, 1e-14,
1927 "eraBp06",
"rbp31", status);
1928 vvd(rbp[2][1], -0.1924880847894457113e-6, 1e-14,
1929 "eraBp06",
"rbp32", status);
1930 vvd(rbp[2][2], 0.9999999285679971958, 1e-12,
1931 "eraBp06",
"rbp33", status);
1950 double rbpn[3][3], x, y;
1953 rbpn[0][0] = 9.999962358680738e-1;
1954 rbpn[0][1] = -2.516417057665452e-3;
1955 rbpn[0][2] = -1.093569785342370e-3;
1957 rbpn[1][0] = 2.516462370370876e-3;
1958 rbpn[1][1] = 9.999968329010883e-1;
1959 rbpn[1][2] = 4.006159587358310e-5;
1961 rbpn[2][0] = 1.093465510215479e-3;
1962 rbpn[2][1] = -4.281337229063151e-5;
1963 rbpn[2][2] = 9.999994012499173e-1;
1967 vvd(x, 1.093465510215479e-3, 1e-12,
"eraBpn2xy",
"x", status);
1968 vvd(y, -4.281337229063151e-5, 1e-12,
"eraBpn2xy",
"y", status);
1993 vvd(rc2i[0][0], 0.9999998323037165557, 1e-12,
1994 "eraC2i00a",
"11", status);
1995 vvd(rc2i[0][1], 0.5581526348992140183e-9, 1e-12,
1996 "eraC2i00a",
"12", status);
1997 vvd(rc2i[0][2], -0.5791308477073443415e-3, 1e-12,
1998 "eraC2i00a",
"13", status);
2000 vvd(rc2i[1][0], -0.2384266227870752452e-7, 1e-12,
2001 "eraC2i00a",
"21", status);
2002 vvd(rc2i[1][1], 0.9999999991917405258, 1e-12,
2003 "eraC2i00a",
"22", status);
2004 vvd(rc2i[1][2], -0.4020594955028209745e-4, 1e-12,
2005 "eraC2i00a",
"23", status);
2007 vvd(rc2i[2][0], 0.5791308472168152904e-3, 1e-12,
2008 "eraC2i00a",
"31", status);
2009 vvd(rc2i[2][1], 0.4020595661591500259e-4, 1e-12,
2010 "eraC2i00a",
"32", status);
2011 vvd(rc2i[2][2], 0.9999998314954572304, 1e-12,
2012 "eraC2i00a",
"33", status);
2037 vvd(rc2i[0][0], 0.9999998323040954356, 1e-12,
2038 "eraC2i00b",
"11", status);
2039 vvd(rc2i[0][1], 0.5581526349131823372e-9, 1e-12,
2040 "eraC2i00b",
"12", status);
2041 vvd(rc2i[0][2], -0.5791301934855394005e-3, 1e-12,
2042 "eraC2i00b",
"13", status);
2044 vvd(rc2i[1][0], -0.2384239285499175543e-7, 1e-12,
2045 "eraC2i00b",
"21", status);
2046 vvd(rc2i[1][1], 0.9999999991917574043, 1e-12,
2047 "eraC2i00b",
"22", status);
2048 vvd(rc2i[1][2], -0.4020552974819030066e-4, 1e-12,
2049 "eraC2i00b",
"23", status);
2051 vvd(rc2i[2][0], 0.5791301929950208873e-3, 1e-12,
2052 "eraC2i00b",
"31", status);
2053 vvd(rc2i[2][1], 0.4020553681373720832e-4, 1e-12,
2054 "eraC2i00b",
"32", status);
2055 vvd(rc2i[2][2], 0.9999998314958529887, 1e-12,
2056 "eraC2i00b",
"33", status);
2081 vvd(rc2i[0][0], 0.9999998323037159379, 1e-12,
2082 "eraC2i06a",
"11", status);
2083 vvd(rc2i[0][1], 0.5581121329587613787e-9, 1e-12,
2084 "eraC2i06a",
"12", status);
2085 vvd(rc2i[0][2], -0.5791308487740529749e-3, 1e-12,
2086 "eraC2i06a",
"13", status);
2088 vvd(rc2i[1][0], -0.2384253169452306581e-7, 1e-12,
2089 "eraC2i06a",
"21", status);
2090 vvd(rc2i[1][1], 0.9999999991917467827, 1e-12,
2091 "eraC2i06a",
"22", status);
2092 vvd(rc2i[1][2], -0.4020579392895682558e-4, 1e-12,
2093 "eraC2i06a",
"23", status);
2095 vvd(rc2i[2][0], 0.5791308482835292617e-3, 1e-12,
2096 "eraC2i06a",
"31", status);
2097 vvd(rc2i[2][1], 0.4020580099454020310e-4, 1e-12,
2098 "eraC2i06a",
"32", status);
2099 vvd(rc2i[2][2], 0.9999998314954628695, 1e-12,
2100 "eraC2i06a",
"33", status);
2120 double rbpn[3][3], rc2i[3][3];
2123 rbpn[0][0] = 9.999962358680738e-1;
2124 rbpn[0][1] = -2.516417057665452e-3;
2125 rbpn[0][2] = -1.093569785342370e-3;
2127 rbpn[1][0] = 2.516462370370876e-3;
2128 rbpn[1][1] = 9.999968329010883e-1;
2129 rbpn[1][2] = 4.006159587358310e-5;
2131 rbpn[2][0] = 1.093465510215479e-3;
2132 rbpn[2][1] = -4.281337229063151e-5;
2133 rbpn[2][2] = 9.999994012499173e-1;
2135 eraC2ibpn(2400000.5, 50123.9999, rbpn, rc2i);
2137 vvd(rc2i[0][0], 0.9999994021664089977, 1e-12,
2138 "eraC2ibpn",
"11", status);
2139 vvd(rc2i[0][1], -0.3869195948017503664e-8, 1e-12,
2140 "eraC2ibpn",
"12", status);
2141 vvd(rc2i[0][2], -0.1093465511383285076e-2, 1e-12,
2142 "eraC2ibpn",
"13", status);
2144 vvd(rc2i[1][0], 0.5068413965715446111e-7, 1e-12,
2145 "eraC2ibpn",
"21", status);
2146 vvd(rc2i[1][1], 0.9999999990835075686, 1e-12,
2147 "eraC2ibpn",
"22", status);
2148 vvd(rc2i[1][2], 0.4281334246452708915e-4, 1e-12,
2149 "eraC2ibpn",
"23", status);
2151 vvd(rc2i[2][0], 0.1093465510215479000e-2, 1e-12,
2152 "eraC2ibpn",
"31", status);
2153 vvd(rc2i[2][1], -0.4281337229063151000e-4, 1e-12,
2154 "eraC2ibpn",
"32", status);
2155 vvd(rc2i[2][2], 0.9999994012499173103, 1e-12,
2156 "eraC2ibpn",
"33", status);
2176 double x, y, rc2i[3][3];
2179 x = 0.5791308486706011000e-3;
2180 y = 0.4020579816732961219e-4;
2182 eraC2ixy(2400000.5, 53736, x, y, rc2i);
2184 vvd(rc2i[0][0], 0.9999998323037157138, 1e-12,
2185 "eraC2ixy",
"11", status);
2186 vvd(rc2i[0][1], 0.5581526349032241205e-9, 1e-12,
2187 "eraC2ixy",
"12", status);
2188 vvd(rc2i[0][2], -0.5791308491611263745e-3, 1e-12,
2189 "eraC2ixy",
"13", status);
2191 vvd(rc2i[1][0], -0.2384257057469842953e-7, 1e-12,
2192 "eraC2ixy",
"21", status);
2193 vvd(rc2i[1][1], 0.9999999991917468964, 1e-12,
2194 "eraC2ixy",
"22", status);
2195 vvd(rc2i[1][2], -0.4020579110172324363e-4, 1e-12,
2196 "eraC2ixy",
"23", status);
2198 vvd(rc2i[2][0], 0.5791308486706011000e-3, 1e-12,
2199 "eraC2ixy",
"31", status);
2200 vvd(rc2i[2][1], 0.4020579816732961219e-4, 1e-12,
2201 "eraC2ixy",
"32", status);
2202 vvd(rc2i[2][2], 0.9999998314954627590, 1e-12,
2203 "eraC2ixy",
"33", status);
2223 double x, y, s, rc2i[3][3];
2226 x = 0.5791308486706011000e-3;
2227 y = 0.4020579816732961219e-4;
2228 s = -0.1220040848472271978e-7;
2232 vvd(rc2i[0][0], 0.9999998323037157138, 1e-12,
2233 "eraC2ixys",
"11", status);
2234 vvd(rc2i[0][1], 0.5581984869168499149e-9, 1e-12,
2235 "eraC2ixys",
"12", status);
2236 vvd(rc2i[0][2], -0.5791308491611282180e-3, 1e-12,
2237 "eraC2ixys",
"13", status);
2239 vvd(rc2i[1][0], -0.2384261642670440317e-7, 1e-12,
2240 "eraC2ixys",
"21", status);
2241 vvd(rc2i[1][1], 0.9999999991917468964, 1e-12,
2242 "eraC2ixys",
"22", status);
2243 vvd(rc2i[1][2], -0.4020579110169668931e-4, 1e-12,
2244 "eraC2ixys",
"23", status);
2246 vvd(rc2i[2][0], 0.5791308486706011000e-3, 1e-12,
2247 "eraC2ixys",
"31", status);
2248 vvd(rc2i[2][1], 0.4020579816732961219e-4, 1e-12,
2249 "eraC2ixys",
"32", status);
2250 vvd(rc2i[2][2], 0.9999998314954627590, 1e-12,
2251 "eraC2ixys",
"33", status);
2271 double p[3], theta, phi;
2280 vvd(theta, -0.4636476090008061162, 1e-14,
"eraC2s",
"theta", status);
2281 vvd(phi, 0.2199879773954594463, 1e-14,
"eraC2s",
"phi", status);
2301 double tta, ttb, uta, utb, xp, yp, rc2t[3][3];
2309 yp = 1.860359247e-6;
2311 eraC2t00a(tta, ttb, uta, utb, xp, yp, rc2t);
2313 vvd(rc2t[0][0], -0.1810332128307182668, 1e-12,
2314 "eraC2t00a",
"11", status);
2315 vvd(rc2t[0][1], 0.9834769806938457836, 1e-12,
2316 "eraC2t00a",
"12", status);
2317 vvd(rc2t[0][2], 0.6555535638688341725e-4, 1e-12,
2318 "eraC2t00a",
"13", status);
2320 vvd(rc2t[1][0], -0.9834768134135984552, 1e-12,
2321 "eraC2t00a",
"21", status);
2322 vvd(rc2t[1][1], -0.1810332203649520727, 1e-12,
2323 "eraC2t00a",
"22", status);
2324 vvd(rc2t[1][2], 0.5749801116141056317e-3, 1e-12,
2325 "eraC2t00a",
"23", status);
2327 vvd(rc2t[2][0], 0.5773474014081406921e-3, 1e-12,
2328 "eraC2t00a",
"31", status);
2329 vvd(rc2t[2][1], 0.3961832391770163647e-4, 1e-12,
2330 "eraC2t00a",
"32", status);
2331 vvd(rc2t[2][2], 0.9999998325501692289, 1e-12,
2332 "eraC2t00a",
"33", status);
2352 double tta, ttb, uta, utb, xp, yp, rc2t[3][3];
2360 yp = 1.860359247e-6;
2362 eraC2t00b(tta, ttb, uta, utb, xp, yp, rc2t);
2364 vvd(rc2t[0][0], -0.1810332128439678965, 1e-12,
2365 "eraC2t00b",
"11", status);
2366 vvd(rc2t[0][1], 0.9834769806913872359, 1e-12,
2367 "eraC2t00b",
"12", status);
2368 vvd(rc2t[0][2], 0.6555565082458415611e-4, 1e-12,
2369 "eraC2t00b",
"13", status);
2371 vvd(rc2t[1][0], -0.9834768134115435923, 1e-12,
2372 "eraC2t00b",
"21", status);
2373 vvd(rc2t[1][1], -0.1810332203784001946, 1e-12,
2374 "eraC2t00b",
"22", status);
2375 vvd(rc2t[1][2], 0.5749793922030017230e-3, 1e-12,
2376 "eraC2t00b",
"23", status);
2378 vvd(rc2t[2][0], 0.5773467471863534901e-3, 1e-12,
2379 "eraC2t00b",
"31", status);
2380 vvd(rc2t[2][1], 0.3961790411549945020e-4, 1e-12,
2381 "eraC2t00b",
"32", status);
2382 vvd(rc2t[2][2], 0.9999998325505635738, 1e-12,
2383 "eraC2t00b",
"33", status);
2403 double tta, ttb, uta, utb, xp, yp, rc2t[3][3];
2411 yp = 1.860359247e-6;
2413 eraC2t06a(tta, ttb, uta, utb, xp, yp, rc2t);
2415 vvd(rc2t[0][0], -0.1810332128305897282, 1e-12,
2416 "eraC2t06a",
"11", status);
2417 vvd(rc2t[0][1], 0.9834769806938592296, 1e-12,
2418 "eraC2t06a",
"12", status);
2419 vvd(rc2t[0][2], 0.6555550962998436505e-4, 1e-12,
2420 "eraC2t06a",
"13", status);
2422 vvd(rc2t[1][0], -0.9834768134136214897, 1e-12,
2423 "eraC2t06a",
"21", status);
2424 vvd(rc2t[1][1], -0.1810332203649130832, 1e-12,
2425 "eraC2t06a",
"22", status);
2426 vvd(rc2t[1][2], 0.5749800844905594110e-3, 1e-12,
2427 "eraC2t06a",
"23", status);
2429 vvd(rc2t[2][0], 0.5773474024748545878e-3, 1e-12,
2430 "eraC2t06a",
"31", status);
2431 vvd(rc2t[2][1], 0.3961816829632690581e-4, 1e-12,
2432 "eraC2t06a",
"32", status);
2433 vvd(rc2t[2][2], 0.9999998325501747785, 1e-12,
2434 "eraC2t06a",
"33", status);
2454 double rc2i[3][3], era, rpom[3][3], rc2t[3][3];
2457 rc2i[0][0] = 0.9999998323037164738;
2458 rc2i[0][1] = 0.5581526271714303683e-9;
2459 rc2i[0][2] = -0.5791308477073443903e-3;
2461 rc2i[1][0] = -0.2384266227524722273e-7;
2462 rc2i[1][1] = 0.9999999991917404296;
2463 rc2i[1][2] = -0.4020594955030704125e-4;
2465 rc2i[2][0] = 0.5791308472168153320e-3;
2466 rc2i[2][1] = 0.4020595661593994396e-4;
2467 rc2i[2][2] = 0.9999998314954572365;
2469 era = 1.75283325530307;
2471 rpom[0][0] = 0.9999999999999674705;
2472 rpom[0][1] = -0.1367174580728847031e-10;
2473 rpom[0][2] = 0.2550602379999972723e-6;
2475 rpom[1][0] = 0.1414624947957029721e-10;
2476 rpom[1][1] = 0.9999999999982694954;
2477 rpom[1][2] = -0.1860359246998866338e-5;
2479 rpom[2][0] = -0.2550602379741215275e-6;
2480 rpom[2][1] = 0.1860359247002413923e-5;
2481 rpom[2][2] = 0.9999999999982369658;
2486 vvd(rc2t[0][0], -0.1810332128307110439, 1e-12,
2487 "eraC2tcio",
"11", status);
2488 vvd(rc2t[0][1], 0.9834769806938470149, 1e-12,
2489 "eraC2tcio",
"12", status);
2490 vvd(rc2t[0][2], 0.6555535638685466874e-4, 1e-12,
2491 "eraC2tcio",
"13", status);
2493 vvd(rc2t[1][0], -0.9834768134135996657, 1e-12,
2494 "eraC2tcio",
"21", status);
2495 vvd(rc2t[1][1], -0.1810332203649448367, 1e-12,
2496 "eraC2tcio",
"22", status);
2497 vvd(rc2t[1][2], 0.5749801116141106528e-3, 1e-12,
2498 "eraC2tcio",
"23", status);
2500 vvd(rc2t[2][0], 0.5773474014081407076e-3, 1e-12,
2501 "eraC2tcio",
"31", status);
2502 vvd(rc2t[2][1], 0.3961832391772658944e-4, 1e-12,
2503 "eraC2tcio",
"32", status);
2504 vvd(rc2t[2][2], 0.9999998325501691969, 1e-12,
2505 "eraC2tcio",
"33", status);
2525 double rbpn[3][3], gst, rpom[3][3], rc2t[3][3];
2528 rbpn[0][0] = 0.9999989440476103608;
2529 rbpn[0][1] = -0.1332881761240011518e-2;
2530 rbpn[0][2] = -0.5790767434730085097e-3;
2532 rbpn[1][0] = 0.1332858254308954453e-2;
2533 rbpn[1][1] = 0.9999991109044505944;
2534 rbpn[1][2] = -0.4097782710401555759e-4;
2536 rbpn[2][0] = 0.5791308472168153320e-3;
2537 rbpn[2][1] = 0.4020595661593994396e-4;
2538 rbpn[2][2] = 0.9999998314954572365;
2540 gst = 1.754166138040730516;
2542 rpom[0][0] = 0.9999999999999674705;
2543 rpom[0][1] = -0.1367174580728847031e-10;
2544 rpom[0][2] = 0.2550602379999972723e-6;
2546 rpom[1][0] = 0.1414624947957029721e-10;
2547 rpom[1][1] = 0.9999999999982694954;
2548 rpom[1][2] = -0.1860359246998866338e-5;
2550 rpom[2][0] = -0.2550602379741215275e-6;
2551 rpom[2][1] = 0.1860359247002413923e-5;
2552 rpom[2][2] = 0.9999999999982369658;
2556 vvd(rc2t[0][0], -0.1810332128528685730, 1e-12,
2557 "eraC2teqx",
"11", status);
2558 vvd(rc2t[0][1], 0.9834769806897685071, 1e-12,
2559 "eraC2teqx",
"12", status);
2560 vvd(rc2t[0][2], 0.6555535639982634449e-4, 1e-12,
2561 "eraC2teqx",
"13", status);
2563 vvd(rc2t[1][0], -0.9834768134095211257, 1e-12,
2564 "eraC2teqx",
"21", status);
2565 vvd(rc2t[1][1], -0.1810332203871023800, 1e-12,
2566 "eraC2teqx",
"22", status);
2567 vvd(rc2t[1][2], 0.5749801116126438962e-3, 1e-12,
2568 "eraC2teqx",
"23", status);
2570 vvd(rc2t[2][0], 0.5773474014081539467e-3, 1e-12,
2571 "eraC2teqx",
"31", status);
2572 vvd(rc2t[2][1], 0.3961832391768640871e-4, 1e-12,
2573 "eraC2teqx",
"32", status);
2574 vvd(rc2t[2][2], 0.9999998325501691969, 1e-12,
2575 "eraC2teqx",
"33", status);
2595 double tta, ttb, uta, utb, dpsi, deps, xp, yp, rc2t[3][3];
2602 deps = 0.4090789763356509900;
2603 dpsi = -0.9630909107115582393e-5;
2605 yp = 1.860359247e-6;
2607 eraC2tpe(tta, ttb, uta, utb, dpsi, deps, xp, yp, rc2t);
2609 vvd(rc2t[0][0], -0.1813677995763029394, 1e-12,
2610 "eraC2tpe",
"11", status);
2611 vvd(rc2t[0][1], 0.9023482206891683275, 1e-12,
2612 "eraC2tpe",
"12", status);
2613 vvd(rc2t[0][2], -0.3909902938641085751, 1e-12,
2614 "eraC2tpe",
"13", status);
2616 vvd(rc2t[1][0], -0.9834147641476804807, 1e-12,
2617 "eraC2tpe",
"21", status);
2618 vvd(rc2t[1][1], -0.1659883635434995121, 1e-12,
2619 "eraC2tpe",
"22", status);
2620 vvd(rc2t[1][2], 0.7309763898042819705e-1, 1e-12,
2621 "eraC2tpe",
"23", status);
2623 vvd(rc2t[2][0], 0.1059685430673215247e-2, 1e-12,
2624 "eraC2tpe",
"31", status);
2625 vvd(rc2t[2][1], 0.3977631855605078674, 1e-12,
2626 "eraC2tpe",
"32", status);
2627 vvd(rc2t[2][2], 0.9174875068792735362, 1e-12,
2628 "eraC2tpe",
"33", status);
2648 double tta, ttb, uta, utb, x, y, xp, yp, rc2t[3][3];
2655 x = 0.5791308486706011000e-3;
2656 y = 0.4020579816732961219e-4;
2658 yp = 1.860359247e-6;
2660 eraC2txy(tta, ttb, uta, utb, x, y, xp, yp, rc2t);
2662 vvd(rc2t[0][0], -0.1810332128306279253, 1e-12,
2663 "eraC2txy",
"11", status);
2664 vvd(rc2t[0][1], 0.9834769806938520084, 1e-12,
2665 "eraC2txy",
"12", status);
2666 vvd(rc2t[0][2], 0.6555551248057665829e-4, 1e-12,
2667 "eraC2txy",
"13", status);
2669 vvd(rc2t[1][0], -0.9834768134136142314, 1e-12,
2670 "eraC2txy",
"21", status);
2671 vvd(rc2t[1][1], -0.1810332203649529312, 1e-12,
2672 "eraC2txy",
"22", status);
2673 vvd(rc2t[1][2], 0.5749800843594139912e-3, 1e-12,
2674 "eraC2txy",
"23", status);
2676 vvd(rc2t[2][0], 0.5773474028619264494e-3, 1e-12,
2677 "eraC2txy",
"31", status);
2678 vvd(rc2t[2][1], 0.3961816546911624260e-4, 1e-12,
2679 "eraC2txy",
"32", status);
2680 vvd(rc2t[2][2], 0.9999998325501746670, 1e-12,
2681 "eraC2txy",
"33", status);
2705 j =
eraCal2jd(2003, 06, 01, &djm0, &djm);
2707 vvd(djm0, 2400000.5, 0.0,
"eraCal2jd",
"djm0", status);
2708 vvd(djm, 52791.0, 0.0,
"eraCal2jd",
"djm", status);
2710 viv(j, 0,
"eraCal2jd",
"j", status);
2739 vvd(c[0], 0.3, 0.0,
"eraCp",
"1", status);
2740 vvd(c[1], 1.2, 0.0,
"eraCp",
"2", status);
2741 vvd(c[2], -2.5, 0.0,
"eraCp",
"3", status);
2760 double pv[2][3], c[2][3];
2773 vvd(c[0][0], 0.3, 0.0,
"eraCpv",
"p1", status);
2774 vvd(c[0][1], 1.2, 0.0,
"eraCpv",
"p2", status);
2775 vvd(c[0][2], -2.5, 0.0,
"eraCpv",
"p3", status);
2777 vvd(c[1][0], -0.5, 0.0,
"eraCpv",
"v1", status);
2778 vvd(c[1][1], 3.1, 0.0,
"eraCpv",
"v2", status);
2779 vvd(c[1][2], 0.9, 0.0,
"eraCpv",
"v3", status);
2799 double r[3][3], c[3][3];
2816 vvd(c[0][0], 2.0, 0.0,
"eraCr",
"11", status);
2817 vvd(c[0][1], 3.0, 0.0,
"eraCr",
"12", status);
2818 vvd(c[0][2], 2.0, 0.0,
"eraCr",
"13", status);
2820 vvd(c[1][0], 3.0, 0.0,
"eraCr",
"21", status);
2821 vvd(c[1][1], 2.0, 0.0,
"eraCr",
"22", status);
2822 vvd(c[1][2], 3.0, 0.0,
"eraCr",
"23", status);
2824 vvd(c[2][0], 3.0, 0.0,
"eraCr",
"31", status);
2825 vvd(c[2][1], 4.0, 0.0,
"eraCr",
"32", status);
2826 vvd(c[2][2], 5.0, 0.0,
"eraCr",
"33", status);
2845 int j, iy, im,
id, ihmsf[4];
2848 j =
eraD2dtf(
"UTC", 5, 2400000.5, 49533.99999, &iy, &im, &
id, ihmsf);
2850 viv(iy, 1994,
"eraD2dtf",
"y", status);
2851 viv(im, 6,
"eraD2dtf",
"mo", status);
2852 viv(
id, 30,
"eraD2dtf",
"d", status);
2853 viv(ihmsf[0], 23,
"eraD2dtf",
"h", status);
2854 viv(ihmsf[1], 59,
"eraD2dtf",
"m", status);
2855 viv(ihmsf[2], 60,
"eraD2dtf",
"s", status);
2856 viv(ihmsf[3], 13599,
"eraD2dtf",
"f", status);
2857 viv(j, 0,
"eraD2dtf",
"j", status);
2881 eraD2tf(4, -0.987654321, &s, ihmsf);
2883 viv((
int)s,
'-',
"eraD2tf",
"s", status);
2885 viv(ihmsf[0], 23,
"eraD2tf",
"0", status);
2886 viv(ihmsf[1], 42,
"eraD2tf",
"1", status);
2887 viv(ihmsf[2], 13,
"eraD2tf",
"2", status);
2888 viv(ihmsf[3], 3333,
"eraD2tf",
"3", status);
2912 j =
eraDat(2003, 6, 1, 0.0, &deltat);
2914 vvd(deltat, 32.0, 0.0,
"eraDat",
"d1", status);
2915 viv(j, 0,
"eraDat",
"j1", status);
2917 j =
eraDat(2008, 1, 17, 0.0, &deltat);
2919 vvd(deltat, 33.0, 0.0,
"eraDat",
"d2", status);
2920 viv(j, 0,
"eraDat",
"j2", status);
2922 j =
eraDat(2015, 9, 1, 0.0, &deltat);
2924 vvd(deltat, 36.0, 0.0,
"eraDat",
"d3", status);
2925 viv(j, 0,
"eraDat",
"j3", status);
2948 dtdb =
eraDtdb(2448939.5, 0.123, 0.76543, 5.0123, 5525.242, 3190.0);
2950 vvd(dtdb, -0.1280368005936998991e-2, 1e-15,
"eraDtdb",
"", status);
2974 j =
eraDtf2d(
"UTC", 1994, 6, 30, 23, 59, 60.13599, &u1, &u2);
2976 vvd(u1+u2, 2449534.49999, 1e-6,
"eraDtf2d",
"u", status);
2977 viv(j, 0,
"eraDtf2d",
"j", status);
2997 double epsa, dpsi, ee;
3000 epsa = 0.4090789763356509900;
3001 dpsi = -0.9630909107115582393e-5;
3003 ee =
eraEe00(2400000.5, 53736.0, epsa, dpsi);
3005 vvd(ee, -0.8834193235367965479e-5, 1e-18,
"eraEe00",
"", status);
3030 vvd(ee, -0.8834192459222588227e-5, 1e-18,
"eraEe00a",
"", status);
3055 vvd(ee, -0.8835700060003032831e-5, 1e-18,
"eraEe00b",
"", status);
3080 vvd(ee, -0.8834195072043790156e-5, 1e-15,
"eraEe06a",
"", status);
3104 vvd(eect, 0.2046085004885125264e-8, 1e-20,
"eraEect00",
"", status);
3129 viv(j, -1,
"eraEform",
"j0", status);
3133 viv(j, 0,
"eraEform",
"j1", status);
3134 vvd(a, 6378137.0, 1e-10,
"eraEform",
"a1", status);
3135 vvd(f, 0.0033528106647474807, 1e-18,
"eraEform",
"f1", status);
3139 viv(j, 0,
"eraEform",
"j2", status);
3140 vvd(a, 6378137.0, 1e-10,
"eraEform",
"a2", status);
3141 vvd(f, 0.0033528106811823189, 1e-18,
"eraEform",
"f2", status);
3145 viv(j, 0,
"eraEform",
"j2", status);
3146 vvd(a, 6378135.0, 1e-10,
"eraEform",
"a3", status);
3147 vvd(f, 0.0033527794541675049, 1e-18,
"eraEform",
"f3", status);
3150 viv(j, -1,
"eraEform",
"j3", status);
3174 vvd(eo, -0.1332882371941833644e-2, 1e-15,
"eraEo06a",
"", status);
3194 double rnpb[3][3], s, eo;
3197 rnpb[0][0] = 0.9999989440476103608;
3198 rnpb[0][1] = -0.1332881761240011518e-2;
3199 rnpb[0][2] = -0.5790767434730085097e-3;
3201 rnpb[1][0] = 0.1332858254308954453e-2;
3202 rnpb[1][1] = 0.9999991109044505944;
3203 rnpb[1][2] = -0.4097782710401555759e-4;
3205 rnpb[2][0] = 0.5791308472168153320e-3;
3206 rnpb[2][1] = 0.4020595661593994396e-4;
3207 rnpb[2][2] = 0.9999998314954572365;
3209 s = -0.1220040848472271978e-7;
3213 vvd(eo, -0.1332882715130744606e-2, 1e-14,
"eraEors",
"", status);
3236 epb =
eraEpb(2415019.8135, 30103.18648);
3238 vvd(epb, 1982.418424159278580, 1e-12,
"eraEpb",
"", status);
3258 double epb, djm0, djm;
3265 vvd(djm0, 2400000.5, 1e-9,
"eraEpb2jd",
"djm0", status);
3266 vvd(djm, 35948.1915101513, 1e-9,
"eraEpb2jd",
"mjd", status);
3289 epj =
eraEpj(2451545, -7392.5);
3291 vvd(epj, 1979.760438056125941, 1e-12,
"eraEpj",
"", status);
3311 double epj, djm0, djm;
3318 vvd(djm0, 2400000.5, 1e-9,
"eraEpj2jd",
"djm0", status);
3319 vvd(djm, 50375.7, 1e-9,
"eraEpj2jd",
"mjd", status);
3339 double pvh[2][3], pvb[2][3];
3343 j =
eraEpv00(2400000.5, 53411.52501161, pvh, pvb);
3345 vvd(pvh[0][0], -0.7757238809297706813, 1e-14,
3346 "eraEpv00",
"ph(x)", status);
3347 vvd(pvh[0][1], 0.5598052241363340596, 1e-14,
3348 "eraEpv00",
"ph(y)", status);
3349 vvd(pvh[0][2], 0.2426998466481686993, 1e-14,
3350 "eraEpv00",
"ph(z)", status);
3352 vvd(pvh[1][0], -0.1091891824147313846e-1, 1e-15,
3353 "eraEpv00",
"vh(x)", status);
3354 vvd(pvh[1][1], -0.1247187268440845008e-1, 1e-15,
3355 "eraEpv00",
"vh(y)", status);
3356 vvd(pvh[1][2], -0.5407569418065039061e-2, 1e-15,
3357 "eraEpv00",
"vh(z)", status);
3359 vvd(pvb[0][0], -0.7714104440491111971, 1e-14,
3360 "eraEpv00",
"pb(x)", status);
3361 vvd(pvb[0][1], 0.5598412061824171323, 1e-14,
3362 "eraEpv00",
"pb(y)", status);
3363 vvd(pvb[0][2], 0.2425996277722452400, 1e-14,
3364 "eraEpv00",
"pb(z)", status);
3366 vvd(pvb[1][0], -0.1091874268116823295e-1, 1e-15,
3367 "eraEpv00",
"vb(x)", status);
3368 vvd(pvb[1][1], -0.1246525461732861538e-1, 1e-15,
3369 "eraEpv00",
"vb(y)", status);
3370 vvd(pvb[1][2], -0.5404773180966231279e-2, 1e-15,
3371 "eraEpv00",
"vb(z)", status);
3373 viv(j, 0,
"eraEpv00",
"j", status);
3398 vvd(eqeq, 0.5357758254609256894e-4, 1e-17,
"eraEqeq94",
"", status);
3421 era00 =
eraEra00(2400000.5, 54388.0);
3423 vvd(era00, 0.4022837240028158102, 1e-12,
"eraEra00",
"", status);
3444 "eraFad03",
"", status);
3464 "eraFae03",
"", status);
3484 "eraFaf03",
"", status);
3504 "eraFaju03",
"", status);
3524 "eraFal03",
"", status);
3544 "eraFalp03",
"", status);
3564 "eraFama03",
"", status);
3584 "eraFame03",
"", status);
3604 "eraFane03",
"", status);
3624 "eraFaom03",
"", status);
3644 "eraFapa03",
"", status);
3664 "eraFasa03",
"", status);
3684 "eraFaur03",
"", status);
3704 "eraFave03",
"", status);
3723 double r5, d5, dr5, dd5, px5, rv5, rh, dh, drh, ddh, pxh, rvh;
3728 dr5 = -1.91851572e-7;
3729 dd5 = -5.8468475e-6;
3733 eraFk52h(r5, d5, dr5, dd5, px5, rv5,
3734 &rh, &dh, &drh, &ddh, &pxh, &rvh);
3736 vvd(rh, 1.767794226299947632, 1e-14,
3737 "eraFk52h",
"ra", status);
3738 vvd(dh, -0.2917516070530391757, 1e-14,
3739 "eraFk52h",
"dec", status);
3740 vvd(drh, -0.19618741256057224e-6,1e-19,
3741 "eraFk52h",
"dr5", status);
3742 vvd(ddh, -0.58459905176693911e-5, 1e-19,
3743 "eraFk52h",
"dd5", status);
3744 vvd(pxh, 0.37921, 1e-14,
3745 "eraFk52h",
"px", status);
3746 vvd(rvh, -7.6000000940000254, 1e-11,
3747 "eraFk52h",
"rv", status);
3767 double r5h[3][3], s5h[3];
3772 vvd(r5h[0][0], 0.9999999999999928638, 1e-14,
3773 "eraFk5hip",
"11", status);
3774 vvd(r5h[0][1], 0.1110223351022919694e-6, 1e-17,
3775 "eraFk5hip",
"12", status);
3776 vvd(r5h[0][2], 0.4411803962536558154e-7, 1e-17,
3777 "eraFk5hip",
"13", status);
3778 vvd(r5h[1][0], -0.1110223308458746430e-6, 1e-17,
3779 "eraFk5hip",
"21", status);
3780 vvd(r5h[1][1], 0.9999999999999891830, 1e-14,
3781 "eraFk5hip",
"22", status);
3782 vvd(r5h[1][2], -0.9647792498984142358e-7, 1e-17,
3783 "eraFk5hip",
"23", status);
3784 vvd(r5h[2][0], -0.4411805033656962252e-7, 1e-17,
3785 "eraFk5hip",
"31", status);
3786 vvd(r5h[2][1], 0.9647792009175314354e-7, 1e-17,
3787 "eraFk5hip",
"32", status);
3788 vvd(r5h[2][2], 0.9999999999999943728, 1e-14,
3789 "eraFk5hip",
"33", status);
3790 vvd(s5h[0], -0.1454441043328607981e-8, 1e-17,
3791 "eraFk5hip",
"s1", status);
3792 vvd(s5h[1], 0.2908882086657215962e-8, 1e-17,
3793 "eraFk5hip",
"s2", status);
3794 vvd(s5h[2], 0.3393695767766751955e-8, 1e-17,
3795 "eraFk5hip",
"s3", status);
3815 double r5, d5, rh, dh;
3821 eraFk5hz(r5, d5, 2400000.5, 54479.0, &rh, &dh);
3823 vvd(rh, 1.767794191464423978, 1e-12,
"eraFk5hz",
"ra", status);
3824 vvd(dh, -0.2917516001679884419, 1e-12,
"eraFk5hz",
"dec", status);
3844 double gamb, phib, psi, eps, r[3][3];
3847 gamb = -0.2243387670997992368e-5;
3848 phib = 0.4091014602391312982;
3849 psi = -0.9501954178013015092e-3;
3850 eps = 0.4091014316587367472;
3852 eraFw2m(gamb, phib, psi, eps, r);
3854 vvd(r[0][0], 0.9999995505176007047, 1e-12,
3855 "eraFw2m",
"11", status);
3856 vvd(r[0][1], 0.8695404617348192957e-3, 1e-12,
3857 "eraFw2m",
"12", status);
3858 vvd(r[0][2], 0.3779735201865582571e-3, 1e-12,
3859 "eraFw2m",
"13", status);
3861 vvd(r[1][0], -0.8695404723772016038e-3, 1e-12,
3862 "eraFw2m",
"21", status);
3863 vvd(r[1][1], 0.9999996219496027161, 1e-12,
3864 "eraFw2m",
"22", status);
3865 vvd(r[1][2], -0.1361752496887100026e-6, 1e-12,
3866 "eraFw2m",
"23", status);
3868 vvd(r[2][0], -0.3779734957034082790e-3, 1e-12,
3869 "eraFw2m",
"31", status);
3870 vvd(r[2][1], -0.1924880848087615651e-6, 1e-12,
3871 "eraFw2m",
"32", status);
3872 vvd(r[2][2], 0.9999999285679971958, 1e-12,
3873 "eraFw2m",
"33", status);
3893 double gamb, phib, psi, eps, x, y;
3896 gamb = -0.2243387670997992368e-5;
3897 phib = 0.4091014602391312982;
3898 psi = -0.9501954178013015092e-3;
3899 eps = 0.4091014316587367472;
3901 eraFw2xy(gamb, phib, psi, eps, &x, &y);
3903 vvd(x, -0.3779734957034082790e-3, 1e-14,
"eraFw2xy",
"x", status);
3904 vvd(y, -0.1924880848087615651e-6, 1e-14,
"eraFw2xy",
"y", status);
3924 double dl, db, dr, dd;
3927 dl = 5.5850536063818546461558105;
3928 db = -0.7853981633974483096156608;
3930 vvd(dr, 5.9338074302227188048671, 1e-14,
"eraG2icrs",
"R", status);
3931 vvd(dd, -1.1784870613579944551541, 1e-14,
"eraG2icrs",
"D", status);
3951 double xyz[] = {2e6, 3e6, 5.244e6};
3956 viv(j, -1,
"eraGc2gd",
"j0", status);
3960 viv(j, 0,
"eraGc2gd",
"j1", status);
3961 vvd(e, 0.98279372324732907, 1e-14,
"eraGc2gd",
"e1", status);
3962 vvd(p, 0.97160184819075459, 1e-14,
"eraGc2gd",
"p1", status);
3963 vvd(h, 331.41724614260599, 1e-8,
"eraGc2gd",
"h1", status);
3967 viv(j, 0,
"eraGc2gd",
"j2", status);
3968 vvd(e, 0.98279372324732907, 1e-14,
"eraGc2gd",
"e2", status);
3969 vvd(p, 0.97160184820607853, 1e-14,
"eraGc2gd",
"p2", status);
3970 vvd(h, 331.41731754844348, 1e-8,
"eraGc2gd",
"h2", status);
3974 viv(j, 0,
"eraGc2gd",
"j3", status);
3975 vvd(e, 0.98279372324732907, 1e-14,
"eraGc2gd",
"e3", status);
3976 vvd(p, 0.97160181811015119, 1e-14,
"eraGc2gd",
"p3", status);
3977 vvd(h, 333.27707261303181, 1e-8,
"eraGc2gd",
"h3", status);
3981 viv(j, -1,
"eraGc2gd",
"j4", status);
4001 double a = 6378136.0, f = 0.0033528;
4002 double xyz[] = {2e6, 3e6, 5.244e6};
4007 viv(j, 0,
"eraGc2gde",
"j", status);
4008 vvd(e, 0.98279372324732907, 1e-14,
"eraGc2gde",
"e", status);
4009 vvd(p, 0.97160183775704115, 1e-14,
"eraGc2gde",
"p", status);
4010 vvd(h, 332.36862495764397, 1e-8,
"eraGc2gde",
"h", status);
4030 double e = 3.1, p = -0.5, h = 2500.0;
4035 viv(j, -1,
"eraGd2gc",
"j0", status);
4039 viv(j, 0,
"eraGd2gc",
"j1", status);
4040 vvd(xyz[0], -5599000.5577049947, 1e-7,
"eraGd2gc",
"0/1", status);
4041 vvd(xyz[1], 233011.67223479203, 1e-7,
"eraGd2gc",
"1/1", status);
4042 vvd(xyz[2], -3040909.4706983363, 1e-7,
"eraGd2gc",
"2/1", status);
4046 viv(j, 0,
"eraGd2gc",
"j2", status);
4047 vvd(xyz[0], -5599000.5577260984, 1e-7,
"eraGd2gc",
"0/2", status);
4048 vvd(xyz[1], 233011.6722356703, 1e-7,
"eraGd2gc",
"1/2", status);
4049 vvd(xyz[2], -3040909.4706095476, 1e-7,
"eraGd2gc",
"2/2", status);
4053 viv(j, 0,
"eraGd2gc",
"j3", status);
4054 vvd(xyz[0], -5598998.7626301490, 1e-7,
"eraGd2gc",
"0/3", status);
4055 vvd(xyz[1], 233011.5975297822, 1e-7,
"eraGd2gc",
"1/3", status);
4056 vvd(xyz[2], -3040908.6861467111, 1e-7,
"eraGd2gc",
"2/3", status);
4060 viv(j, -1,
"eraGd2gc",
"j4", status);
4080 double a = 6378136.0, f = 0.0033528;
4081 double e = 3.1, p = -0.5, h = 2500.0;
4086 viv(j, 0,
"eraGd2gce",
"j", status);
4087 vvd(xyz[0], -5598999.6665116328, 1e-7,
"eraGd2gce",
"0", status);
4088 vvd(xyz[1], 233011.63514630572, 1e-7,
"eraGd2gce",
"1", status);
4089 vvd(xyz[2], -3040909.0517314132, 1e-7,
"eraGd2gce",
"2", status);
4111 theta =
eraGmst00(2400000.5, 53736.0, 2400000.5, 53736.0);
4113 vvd(theta, 1.754174972210740592, 1e-12,
"eraGmst00",
"", status);
4136 theta =
eraGmst06(2400000.5, 53736.0, 2400000.5, 53736.0);
4138 vvd(theta, 1.754174971870091203, 1e-12,
"eraGmst06",
"", status);
4163 vvd(theta, 1.754174981860675096, 1e-12,
"eraGmst82",
"", status);
4186 theta =
eraGst00a(2400000.5, 53736.0, 2400000.5, 53736.0);
4188 vvd(theta, 1.754166138018281369, 1e-12,
"eraGst00a",
"", status);
4213 vvd(theta, 1.754166136510680589, 1e-12,
"eraGst00b",
"", status);
4233 double rnpb[3][3], theta;
4236 rnpb[0][0] = 0.9999989440476103608;
4237 rnpb[0][1] = -0.1332881761240011518e-2;
4238 rnpb[0][2] = -0.5790767434730085097e-3;
4240 rnpb[1][0] = 0.1332858254308954453e-2;
4241 rnpb[1][1] = 0.9999991109044505944;
4242 rnpb[1][2] = -0.4097782710401555759e-4;
4244 rnpb[2][0] = 0.5791308472168153320e-3;
4245 rnpb[2][1] = 0.4020595661593994396e-4;
4246 rnpb[2][2] = 0.9999998314954572365;
4248 theta =
eraGst06(2400000.5, 53736.0, 2400000.5, 53736.0, rnpb);
4250 vvd(theta, 1.754166138018167568, 1e-12,
"eraGst06",
"", status);
4273 theta =
eraGst06a(2400000.5, 53736.0, 2400000.5, 53736.0);
4275 vvd(theta, 1.754166137675019159, 1e-12,
"eraGst06a",
"", status);
4298 theta =
eraGst94(2400000.5, 53736.0);
4300 vvd(theta, 1.754166136020645203, 1e-12,
"eraGst94",
"", status);
4320 double dr, dd, dl, db;
4322 dr = 5.9338074302227188048671087;
4323 dd = -1.1784870613579944551540570;
4325 vvd(dl, 5.5850536063818546461558, 1e-14,
"eraIcrs2g",
"L", status);
4326 vvd(db, -0.7853981633974483096157, 1e-14,
"eraIcrs2g",
"B", status);
4345 double rh, dh, drh, ddh, pxh, rvh, r5, d5, dr5, dd5, px5, rv5;
4350 drh = -2.76413026e-6;
4351 ddh = -5.92994449e-6;
4355 eraH2fk5(rh, dh, drh, ddh, pxh, rvh,
4356 &r5, &d5, &dr5, &dd5, &px5, &rv5);
4358 vvd(r5, 1.767794455700065506, 1e-13,
4359 "eraH2fk5",
"ra", status);
4360 vvd(d5, -0.2917513626469638890, 1e-13,
4361 "eraH2fk5",
"dec", status);
4362 vvd(dr5, -0.27597945024511204e-5, 1e-18,
4363 "eraH2fk5",
"dr5", status);
4364 vvd(dd5, -0.59308014093262838e-5, 1e-18,
4365 "eraH2fk5",
"dd5", status);
4366 vvd(px5, 0.37921, 1e-13,
4367 "eraH2fk5",
"px", status);
4368 vvd(rv5, -7.6000001309071126, 1e-10,
4369 "eraH2fk5",
"rv", status);
4389 double rh, dh, r5, d5, dr5, dd5;
4396 eraHfk5z(rh, dh, 2400000.5, 54479.0, &r5, &d5, &dr5, &dd5);
4398 vvd(r5, 1.767794490535581026, 1e-13,
4399 "eraHfk5z",
"ra", status);
4400 vvd(d5, -0.2917513695320114258, 1e-14,
4401 "eraHfk5z",
"dec", status);
4402 vvd(dr5, 0.4335890983539243029e-8, 1e-22,
4403 "eraHfk5z",
"dr5", status);
4404 vvd(dd5, -0.8569648841237745902e-9, 1e-23,
4405 "eraHfk5z",
"dd5", status);
4442 vvd(r[0][0], 1.0, 0.0,
"eraIr",
"11", status);
4443 vvd(r[0][1], 0.0, 0.0,
"eraIr",
"12", status);
4444 vvd(r[0][2], 0.0, 0.0,
"eraIr",
"13", status);
4446 vvd(r[1][0], 0.0, 0.0,
"eraIr",
"21", status);
4447 vvd(r[1][1], 1.0, 0.0,
"eraIr",
"22", status);
4448 vvd(r[1][2], 0.0, 0.0,
"eraIr",
"23", status);
4450 vvd(r[2][0], 0.0, 0.0,
"eraIr",
"31", status);
4451 vvd(r[2][1], 0.0, 0.0,
"eraIr",
"32", status);
4452 vvd(r[2][2], 1.0, 0.0,
"eraIr",
"33", status);
4472 double dj1, dj2, fd;
4479 j =
eraJd2cal(dj1, dj2, &iy, &im, &
id, &fd);
4481 viv(iy, 1996,
"eraJd2cal",
"y", status);
4482 viv(im, 2,
"eraJd2cal",
"m", status);
4483 viv(
id, 10,
"eraJd2cal",
"d", status);
4484 vvd(fd, 0.9999, 1e-7,
"eraJd2cal",
"fd", status);
4485 viv(j, 0,
"eraJd2cal",
"j", status);
4514 viv(iydmf[0], 1996,
"eraJdcalf",
"y", status);
4515 viv(iydmf[1], 2,
"eraJdcalf",
"m", status);
4516 viv(iydmf[2], 10,
"eraJdcalf",
"d", status);
4517 viv(iydmf[3], 9999,
"eraJdcalf",
"f", status);
4519 viv(j, 0,
"eraJdcalf",
"j", status);
4539 double bm, p[3], q[3], e[3], em, dlim, p1[3];
4543 p[0] = -0.763276255;
4544 p[1] = -0.608633767;
4545 p[2] = -0.216735543;
4546 q[0] = -0.763276255;
4547 q[1] = -0.608633767;
4548 q[2] = -0.216735543;
4555 eraLd(bm, p, q, e, em, dlim, p1);
4557 vvd(p1[0], -0.7632762548968159627, 1e-12,
4558 "eraLd",
"1", status);
4559 vvd(p1[1], -0.6086337670823762701, 1e-12,
4560 "eraLd",
"2", status);
4561 vvd(p1[2], -0.2167355431320546947, 1e-12,
4562 "eraLd",
"3", status);
4584 double ob[3], sc[3], sn[3];
4588 b[0].
bm = 0.00028574;
4590 b[0].
pv[0][0] = -7.81014427;
4591 b[0].
pv[0][1] = -5.60956681;
4592 b[0].
pv[0][2] = -1.98079819;
4593 b[0].
pv[1][0] = 0.0030723249;
4594 b[0].
pv[1][1] = -0.00406995477;
4595 b[0].
pv[1][2] = -0.00181335842;
4596 b[1].
bm = 0.00095435;
4598 b[1].
pv[0][0] = 0.738098796;
4599 b[1].
pv[0][1] = 4.63658692;
4600 b[1].
pv[0][2] = 1.9693136;
4601 b[1].
pv[1][0] = -0.00755816922;
4602 b[1].
pv[1][1] = 0.00126913722;
4603 b[1].
pv[1][2] = 0.000727999001;
4606 b[2].
pv[0][0] = -0.000712174377;
4607 b[2].
pv[0][1] = -0.00230478303;
4608 b[2].
pv[0][2] = -0.00105865966;
4609 b[2].
pv[1][0] = 6.29235213e-6;
4610 b[2].
pv[1][1] = -3.30888387e-7;
4611 b[2].
pv[1][2] = -2.96486623e-7;
4612 ob[0] = -0.974170437;
4614 ob[2] = -0.0917583114;
4615 sc[0] = -0.763276255;
4616 sc[1] = -0.608633767;
4617 sc[2] = -0.216735543;
4619 eraLdn(n, b, ob, sc, sn);
4621 vvd(sn[0], -0.7632762579693333866, 1e-12,
4622 "eraLdn",
"1", status);
4623 vvd(sn[1], -0.6086337636093002660, 1e-12,
4624 "eraLdn",
"2", status);
4625 vvd(sn[2], -0.2167355420646328159, 1e-12,
4626 "eraLdn",
"3", status);
4646 double p[3], e[3], em, p1[3];
4649 p[0] = -0.763276255;
4650 p[1] = -0.608633767;
4651 p[2] = -0.216735543;
4652 e[0] = -0.973644023;
4654 e[2] = -0.0907169552;
4659 vvd(p1[0], -0.7632762580731413169, 1e-12,
4660 "eraLdsun",
"1", status);
4661 vvd(p1[1], -0.6086337635262647900, 1e-12,
4662 "eraLdsun",
"2", status);
4663 vvd(p1[2], -0.2167355419322321302, 1e-12,
4664 "eraLdsun",
"3", status);
4689 vvd(rmatn[0][0], 0.9999999999536227949, 1e-12,
4690 "eraNum00a",
"11", status);
4691 vvd(rmatn[0][1], 0.8836238544090873336e-5, 1e-12,
4692 "eraNum00a",
"12", status);
4693 vvd(rmatn[0][2], 0.3830835237722400669e-5, 1e-12,
4694 "eraNum00a",
"13", status);
4696 vvd(rmatn[1][0], -0.8836082880798569274e-5, 1e-12,
4697 "eraNum00a",
"21", status);
4698 vvd(rmatn[1][1], 0.9999999991354655028, 1e-12,
4699 "eraNum00a",
"22", status);
4700 vvd(rmatn[1][2], -0.4063240865362499850e-4, 1e-12,
4701 "eraNum00a",
"23", status);
4703 vvd(rmatn[2][0], -0.3831194272065995866e-5, 1e-12,
4704 "eraNum00a",
"31", status);
4705 vvd(rmatn[2][1], 0.4063237480216291775e-4, 1e-12,
4706 "eraNum00a",
"32", status);
4707 vvd(rmatn[2][2], 0.9999999991671660338, 1e-12,
4708 "eraNum00a",
"33", status);
4732 vvd(rmatn[0][0], 0.9999999999536069682, 1e-12,
4733 "eraNum00b",
"11", status);
4734 vvd(rmatn[0][1], 0.8837746144871248011e-5, 1e-12,
4735 "eraNum00b",
"12", status);
4736 vvd(rmatn[0][2], 0.3831488838252202945e-5, 1e-12,
4737 "eraNum00b",
"13", status);
4739 vvd(rmatn[1][0], -0.8837590456632304720e-5, 1e-12,
4740 "eraNum00b",
"21", status);
4741 vvd(rmatn[1][1], 0.9999999991354692733, 1e-12,
4742 "eraNum00b",
"22", status);
4743 vvd(rmatn[1][2], -0.4063198798559591654e-4, 1e-12,
4744 "eraNum00b",
"23", status);
4746 vvd(rmatn[2][0], -0.3831847930134941271e-5, 1e-12,
4747 "eraNum00b",
"31", status);
4748 vvd(rmatn[2][1], 0.4063195412258168380e-4, 1e-12,
4749 "eraNum00b",
"32", status);
4750 vvd(rmatn[2][2], 0.9999999991671806225, 1e-12,
4751 "eraNum00b",
"33", status);
4775 vvd(rmatn[0][0], 0.9999999999536227668, 1e-12,
4776 "eraNum06a",
"11", status);
4777 vvd(rmatn[0][1], 0.8836241998111535233e-5, 1e-12,
4778 "eraNum06a",
"12", status);
4779 vvd(rmatn[0][2], 0.3830834608415287707e-5, 1e-12,
4780 "eraNum06a",
"13", status);
4782 vvd(rmatn[1][0], -0.8836086334870740138e-5, 1e-12,
4783 "eraNum06a",
"21", status);
4784 vvd(rmatn[1][1], 0.9999999991354657474, 1e-12,
4785 "eraNum06a",
"22", status);
4786 vvd(rmatn[1][2], -0.4063240188248455065e-4, 1e-12,
4787 "eraNum06a",
"23", status);
4789 vvd(rmatn[2][0], -0.3831193642839398128e-5, 1e-12,
4790 "eraNum06a",
"31", status);
4791 vvd(rmatn[2][1], 0.4063236803101479770e-4, 1e-12,
4792 "eraNum06a",
"32", status);
4793 vvd(rmatn[2][2], 0.9999999991671663114, 1e-12,
4794 "eraNum06a",
"33", status);
4814 double epsa, dpsi, deps, rmatn[3][3];
4817 epsa = 0.4090789763356509900;
4818 dpsi = -0.9630909107115582393e-5;
4819 deps = 0.4063239174001678826e-4;
4823 vvd(rmatn[0][0], 0.9999999999536227949, 1e-12,
4824 "eraNumat",
"11", status);
4825 vvd(rmatn[0][1], 0.8836239320236250577e-5, 1e-12,
4826 "eraNumat",
"12", status);
4827 vvd(rmatn[0][2], 0.3830833447458251908e-5, 1e-12,
4828 "eraNumat",
"13", status);
4830 vvd(rmatn[1][0], -0.8836083657016688588e-5, 1e-12,
4831 "eraNumat",
"21", status);
4832 vvd(rmatn[1][1], 0.9999999991354654959, 1e-12,
4833 "eraNumat",
"22", status);
4834 vvd(rmatn[1][2], -0.4063240865361857698e-4, 1e-12,
4835 "eraNumat",
"23", status);
4837 vvd(rmatn[2][0], -0.3831192481833385226e-5, 1e-12,
4838 "eraNumat",
"31", status);
4839 vvd(rmatn[2][1], 0.4063237480216934159e-4, 1e-12,
4840 "eraNumat",
"32", status);
4841 vvd(rmatn[2][2], 0.9999999991671660407, 1e-12,
4842 "eraNumat",
"33", status);
4865 eraNut00a(2400000.5, 53736.0, &dpsi, &deps);
4867 vvd(dpsi, -0.9630909107115518431e-5, 1e-13,
4868 "eraNut00a",
"dpsi", status);
4869 vvd(deps, 0.4063239174001678710e-4, 1e-13,
4870 "eraNut00a",
"deps", status);
4893 eraNut00b(2400000.5, 53736.0, &dpsi, &deps);
4895 vvd(dpsi, -0.9632552291148362783e-5, 1e-13,
4896 "eraNut00b",
"dpsi", status);
4897 vvd(deps, 0.4063197106621159367e-4, 1e-13,
4898 "eraNut00b",
"deps", status);
4921 eraNut06a(2400000.5, 53736.0, &dpsi, &deps);
4923 vvd(dpsi, -0.9630912025820308797e-5, 1e-13,
4924 "eraNut06a",
"dpsi", status);
4925 vvd(deps, 0.4063238496887249798e-4, 1e-13,
4926 "eraNut06a",
"deps", status);
4949 eraNut80(2400000.5, 53736.0, &dpsi, &deps);
4951 vvd(dpsi, -0.9643658353226563966e-5, 1e-13,
4952 "eraNut80",
"dpsi", status);
4953 vvd(deps, 0.4060051006879713322e-4, 1e-13,
4954 "eraNut80",
"deps", status);
4979 vvd(rmatn[0][0], 0.9999999999534999268, 1e-12,
4980 "eraNutm80",
"11", status);
4981 vvd(rmatn[0][1], 0.8847935789636432161e-5, 1e-12,
4982 "eraNutm80",
"12", status);
4983 vvd(rmatn[0][2], 0.3835906502164019142e-5, 1e-12,
4984 "eraNutm80",
"13", status);
4986 vvd(rmatn[1][0], -0.8847780042583435924e-5, 1e-12,
4987 "eraNutm80",
"21", status);
4988 vvd(rmatn[1][1], 0.9999999991366569963, 1e-12,
4989 "eraNutm80",
"22", status);
4990 vvd(rmatn[1][2], -0.4060052702727130809e-4, 1e-12,
4991 "eraNutm80",
"23", status);
4993 vvd(rmatn[2][0], -0.3836265729708478796e-5, 1e-12,
4994 "eraNutm80",
"31", status);
4995 vvd(rmatn[2][1], 0.4060049308612638555e-4, 1e-12,
4996 "eraNutm80",
"32", status);
4997 vvd(rmatn[2][2], 0.9999999991684415129, 1e-12,
4998 "eraNutm80",
"33", status);
5018 vvd(
eraObl06(2400000.5, 54388.0), 0.4090749229387258204, 1e-14,
5019 "eraObl06",
"", status);
5041 eps0 =
eraObl80(2400000.5, 54388.0);
5043 vvd(eps0, 0.4090751347643816218, 1e-14,
"eraObl80",
"", status);
5063 double eps0, psia, oma, bpa, bqa, pia, bpia,
5064 epsa, chia, za, zetaa, thetaa, pa, gam, phi, psi;
5067 eraP06e(2400000.5, 52541.0, &eps0, &psia, &oma, &bpa,
5068 &bqa, &pia, &bpia, &epsa, &chia, &za,
5069 &zetaa, &thetaa, &pa, &gam, &phi, &psi);
5071 vvd(eps0, 0.4090926006005828715, 1e-14,
5072 "eraP06e",
"eps0", status);
5073 vvd(psia, 0.6664369630191613431e-3, 1e-14,
5074 "eraP06e",
"psia", status);
5075 vvd(oma , 0.4090925973783255982, 1e-14,
5076 "eraP06e",
"oma", status);
5077 vvd(bpa, 0.5561149371265209445e-6, 1e-14,
5078 "eraP06e",
"bpa", status);
5079 vvd(bqa, -0.6191517193290621270e-5, 1e-14,
5080 "eraP06e",
"bqa", status);
5081 vvd(pia, 0.6216441751884382923e-5, 1e-14,
5082 "eraP06e",
"pia", status);
5083 vvd(bpia, 3.052014180023779882, 1e-14,
5084 "eraP06e",
"bpia", status);
5085 vvd(epsa, 0.4090864054922431688, 1e-14,
5086 "eraP06e",
"epsa", status);
5087 vvd(chia, 0.1387703379530915364e-5, 1e-14,
5088 "eraP06e",
"chia", status);
5089 vvd(za, 0.2921789846651790546e-3, 1e-14,
5090 "eraP06e",
"za", status);
5091 vvd(zetaa, 0.3178773290332009310e-3, 1e-14,
5092 "eraP06e",
"zetaa", status);
5093 vvd(thetaa, 0.2650932701657497181e-3, 1e-14,
5094 "eraP06e",
"thetaa", status);
5095 vvd(pa, 0.6651637681381016344e-3, 1e-14,
5096 "eraP06e",
"pa", status);
5097 vvd(gam, 0.1398077115963754987e-5, 1e-14,
5098 "eraP06e",
"gam", status);
5099 vvd(phi, 0.4090864090837462602, 1e-14,
5100 "eraP06e",
"phi", status);
5101 vvd(psi, 0.6664464807480920325e-3, 1e-14,
5102 "eraP06e",
"psi", status);
5122 double p[3], pv[2][3];
5139 vvd(pv[0][0], 0.25, 0.0,
"eraP2pv",
"p1", status);
5140 vvd(pv[0][1], 1.2, 0.0,
"eraP2pv",
"p2", status);
5141 vvd(pv[0][2], 3.0, 0.0,
"eraP2pv",
"p3", status);
5143 vvd(pv[1][0], 0.0, 0.0,
"eraP2pv",
"v1", status);
5144 vvd(pv[1][1], 0.0, 0.0,
"eraP2pv",
"v2", status);
5145 vvd(pv[1][2], 0.0, 0.0,
"eraP2pv",
"v3", status);
5165 double p[3], theta, phi, r;
5172 eraP2s(p, &theta, &phi, &r);
5174 vvd(theta, -0.4636476090008061162, 1e-12,
"eraP2s",
"theta", status);
5175 vvd(phi, 0.2199879773954594463, 1e-12,
"eraP2s",
"phi", status);
5176 vvd(r, 114.5643923738960002, 1e-9,
"eraP2s",
"r", status);
5196 double a[3], b[3], theta;
5209 vvd(theta, 0.3671514267841113674, 1e-12,
"eraPap",
"", status);
5229 double al, ap, bl, bp, theta;
5237 theta =
eraPas(al, ap, bl, bp);
5239 vvd(theta, -2.724544922932270424, 1e-12,
"eraPas",
"", status);
5259 double bzeta, bz, btheta;
5262 eraPb06(2400000.5, 50123.9999, &bzeta, &bz, &btheta);
5264 vvd(bzeta, -0.5092634016326478238e-3, 1e-12,
5265 "eraPb06",
"bzeta", status);
5266 vvd(bz, -0.3602772060566044413e-3, 1e-12,
5267 "eraPb06",
"bz", status);
5268 vvd(btheta, -0.3779735537167811177e-3, 1e-12,
5269 "eraPb06",
"btheta", status);
5289 double a[3], b[3], adb;
5302 vvd(adb, 20, 1e-12,
"eraPdp",
"", status);
5322 double gamb, phib, psib, epsa;
5325 eraPfw06(2400000.5, 50123.9999, &gamb, &phib, &psib, &epsa);
5327 vvd(gamb, -0.2243387670997995690e-5, 1e-16,
5328 "eraPfw06",
"gamb", status);
5329 vvd(phib, 0.4091014602391312808, 1e-12,
5330 "eraPfw06",
"phib", status);
5331 vvd(psib, -0.9501954178013031895e-3, 1e-14,
5332 "eraPfw06",
"psib", status);
5333 vvd(epsa, 0.4091014316587367491, 1e-12,
5334 "eraPfw06",
"epsa", status);
5360 vvd(pv[0][0], 0.0, 0.0,
"eraPlan94",
"x 1", status);
5361 vvd(pv[0][1], 0.0, 0.0,
"eraPlan94",
"y 1", status);
5362 vvd(pv[0][2], 0.0, 0.0,
"eraPlan94",
"z 1", status);
5364 vvd(pv[1][0], 0.0, 0.0,
"eraPlan94",
"xd 1", status);
5365 vvd(pv[1][1], 0.0, 0.0,
"eraPlan94",
"yd 1", status);
5366 vvd(pv[1][2], 0.0, 0.0,
"eraPlan94",
"zd 1", status);
5368 viv(j, -1,
"eraPlan94",
"j 1", status);
5372 viv(j, -1,
"eraPlan94",
"j 2", status);
5374 j =
eraPlan94(2400000.5, -320000, 3, pv);
5376 vvd(pv[0][0], 0.9308038666832975759, 1e-11,
5377 "eraPlan94",
"x 3", status);
5378 vvd(pv[0][1], 0.3258319040261346000, 1e-11,
5379 "eraPlan94",
"y 3", status);
5380 vvd(pv[0][2], 0.1422794544481140560, 1e-11,
5381 "eraPlan94",
"z 3", status);
5383 vvd(pv[1][0], -0.6429458958255170006e-2, 1e-11,
5384 "eraPlan94",
"xd 3", status);
5385 vvd(pv[1][1], 0.1468570657704237764e-1, 1e-11,
5386 "eraPlan94",
"yd 3", status);
5387 vvd(pv[1][2], 0.6406996426270981189e-2, 1e-11,
5388 "eraPlan94",
"zd 3", status);
5390 viv(j, 1,
"eraPlan94",
"j 3", status);
5392 j =
eraPlan94(2400000.5, 43999.9, 1, pv);
5394 vvd(pv[0][0], 0.2945293959257430832, 1e-11,
5395 "eraPlan94",
"x 4", status);
5396 vvd(pv[0][1], -0.2452204176601049596, 1e-11,
5397 "eraPlan94",
"y 4", status);
5398 vvd(pv[0][2], -0.1615427700571978153, 1e-11,
5399 "eraPlan94",
"z 4", status);
5401 vvd(pv[1][0], 0.1413867871404614441e-1, 1e-11,
5402 "eraPlan94",
"xd 4", status);
5403 vvd(pv[1][1], 0.1946548301104706582e-1, 1e-11,
5404 "eraPlan94",
"yd 4", status);
5405 vvd(pv[1][2], 0.8929809783898904786e-2, 1e-11,
5406 "eraPlan94",
"zd 4", status);
5408 viv(j, 0,
"eraPlan94",
"j 4", status);
5433 vvd(rbp[0][0], 0.9999995505175087260, 1e-12,
5434 "eraPmat00",
"11", status);
5435 vvd(rbp[0][1], 0.8695405883617884705e-3, 1e-14,
5436 "eraPmat00",
"12", status);
5437 vvd(rbp[0][2], 0.3779734722239007105e-3, 1e-14,
5438 "eraPmat00",
"13", status);
5440 vvd(rbp[1][0], -0.8695405990410863719e-3, 1e-14,
5441 "eraPmat00",
"21", status);
5442 vvd(rbp[1][1], 0.9999996219494925900, 1e-12,
5443 "eraPmat00",
"22", status);
5444 vvd(rbp[1][2], -0.1360775820404982209e-6, 1e-14,
5445 "eraPmat00",
"23", status);
5447 vvd(rbp[2][0], -0.3779734476558184991e-3, 1e-14,
5448 "eraPmat00",
"31", status);
5449 vvd(rbp[2][1], -0.1925857585832024058e-6, 1e-14,
5450 "eraPmat00",
"32", status);
5451 vvd(rbp[2][2], 0.9999999285680153377, 1e-12,
5452 "eraPmat00",
"33", status);
5477 vvd(rbp[0][0], 0.9999995505176007047, 1e-12,
5478 "eraPmat06",
"11", status);
5479 vvd(rbp[0][1], 0.8695404617348208406e-3, 1e-14,
5480 "eraPmat06",
"12", status);
5481 vvd(rbp[0][2], 0.3779735201865589104e-3, 1e-14,
5482 "eraPmat06",
"13", status);
5484 vvd(rbp[1][0], -0.8695404723772031414e-3, 1e-14,
5485 "eraPmat06",
"21", status);
5486 vvd(rbp[1][1], 0.9999996219496027161, 1e-12,
5487 "eraPmat06",
"22", status);
5488 vvd(rbp[1][2], -0.1361752497080270143e-6, 1e-14,
5489 "eraPmat06",
"23", status);
5491 vvd(rbp[2][0], -0.3779734957034089490e-3, 1e-14,
5492 "eraPmat06",
"31", status);
5493 vvd(rbp[2][1], -0.1924880847894457113e-6, 1e-14,
5494 "eraPmat06",
"32", status);
5495 vvd(rbp[2][2], 0.9999999285679971958, 1e-12,
5496 "eraPmat06",
"33", status);
5519 eraPmat76(2400000.5, 50123.9999, rmatp);
5521 vvd(rmatp[0][0], 0.9999995504328350733, 1e-12,
5522 "eraPmat76",
"11", status);
5523 vvd(rmatp[0][1], 0.8696632209480960785e-3, 1e-14,
5524 "eraPmat76",
"12", status);
5525 vvd(rmatp[0][2], 0.3779153474959888345e-3, 1e-14,
5526 "eraPmat76",
"13", status);
5528 vvd(rmatp[1][0], -0.8696632209485112192e-3, 1e-14,
5529 "eraPmat76",
"21", status);
5530 vvd(rmatp[1][1], 0.9999996218428560614, 1e-12,
5531 "eraPmat76",
"22", status);
5532 vvd(rmatp[1][2], -0.1643284776111886407e-6, 1e-14,
5533 "eraPmat76",
"23", status);
5535 vvd(rmatp[2][0], -0.3779153474950335077e-3, 1e-14,
5536 "eraPmat76",
"31", status);
5537 vvd(rmatp[2][1], -0.1643306746147366896e-6, 1e-14,
5538 "eraPmat76",
"32", status);
5539 vvd(rmatp[2][2], 0.9999999285899790119, 1e-12,
5540 "eraPmat76",
"33", status);
5569 vvd(r, 2.789265136196270604, 1e-12,
"eraPm",
"", status);
5589 double a[3], b[3], amb[3];
5602 vvd(amb[0], 1.0, 1e-12,
"eraPmp",
"0", status);
5603 vvd(amb[1], -1.0, 1e-12,
"eraPmp",
"1", status);
5604 vvd(amb[2], -1.0, 1e-12,
"eraPmp",
"2", status);
5624 double rc, dc, pr, pd, px, rv, pmt, pob[3], pco[3];
5638 eraPmpx(rc, dc, pr, pd, px, rv, pmt, pob, pco);
5640 vvd(pco[0], 0.2328137623960308440, 1e-12,
5641 "eraPmpx",
"1", status);
5642 vvd(pco[1], 0.6651097085397855317, 1e-12,
5643 "eraPmpx",
"2", status);
5644 vvd(pco[2], 0.7095257765896359847, 1e-12,
5645 "eraPmpx",
"3", status);
5666 double ra1, dec1, pmr1, pmd1, px1, rv1, ep1a, ep1b, ep2a, ep2b,
5667 ra2, dec2, pmr2, pmd2, px2, rv2;
5681 j =
eraPmsafe(ra1, dec1, pmr1, pmd1, px1, rv1,
5682 ep1a, ep1b, ep2a, ep2b,
5683 &ra2, &dec2, &pmr2, &pmd2, &px2, &rv2);
5685 vvd(ra2, 1.234087484501017061, 1e-12,
5686 "eraPmsafe",
"ra2", status);
5687 vvd(dec2, 0.7888249982450468574, 1e-12,
5688 "eraPmsafe",
"dec2", status);
5689 vvd(pmr2, 0.9996457663586073988e-5, 1e-12,
5690 "eraPmsafe",
"pmr2", status);
5691 vvd(pmd2, -0.2000040085106737816e-4, 1e-16,
5692 "eraPmsafe",
"pmd2", status);
5693 vvd(px2, 0.9999997295356765185e-2, 1e-12,
5694 "eraPmsafe",
"px2", status);
5695 vvd(rv2, 10.38468380113917014, 1e-10,
5696 "eraPmsafe",
"rv2", status);
5697 viv ( j, 0,
"eraPmsafe",
"j", status);
5717 double p[3], r, u[3];
5726 vvd(r, 2.789265136196270604, 1e-12,
"eraPn",
"r", status);
5728 vvd(u[0], 0.1075552109073112058, 1e-12,
"eraPn",
"u1", status);
5729 vvd(u[1], 0.4302208436292448232, 1e-12,
"eraPn",
"u2", status);
5730 vvd(u[2], -0.8962934242275933816, 1e-12,
"eraPn",
"u3", status);
5750 double dpsi, deps, epsa,
5751 rb[3][3], rp[3][3], rbp[3][3], rn[3][3], rbpn[3][3];
5754 dpsi = -0.9632552291149335877e-5;
5755 deps = 0.4063197106621141414e-4;
5757 eraPn00(2400000.5, 53736.0, dpsi, deps,
5758 &epsa, rb, rp, rbp, rn, rbpn);
5760 vvd(epsa, 0.4090791789404229916, 1e-12,
"eraPn00",
"epsa", status);
5762 vvd(rb[0][0], 0.9999999999999942498, 1e-12,
5763 "eraPn00",
"rb11", status);
5764 vvd(rb[0][1], -0.7078279744199196626e-7, 1e-18,
5765 "eraPn00",
"rb12", status);
5766 vvd(rb[0][2], 0.8056217146976134152e-7, 1e-18,
5767 "eraPn00",
"rb13", status);
5769 vvd(rb[1][0], 0.7078279477857337206e-7, 1e-18,
5770 "eraPn00",
"rb21", status);
5771 vvd(rb[1][1], 0.9999999999999969484, 1e-12,
5772 "eraPn00",
"rb22", status);
5773 vvd(rb[1][2], 0.3306041454222136517e-7, 1e-18,
5774 "eraPn00",
"rb23", status);
5776 vvd(rb[2][0], -0.8056217380986972157e-7, 1e-18,
5777 "eraPn00",
"rb31", status);
5778 vvd(rb[2][1], -0.3306040883980552500e-7, 1e-18,
5779 "eraPn00",
"rb32", status);
5780 vvd(rb[2][2], 0.9999999999999962084, 1e-12,
5781 "eraPn00",
"rb33", status);
5783 vvd(rp[0][0], 0.9999989300532289018, 1e-12,
5784 "eraPn00",
"rp11", status);
5785 vvd(rp[0][1], -0.1341647226791824349e-2, 1e-14,
5786 "eraPn00",
"rp12", status);
5787 vvd(rp[0][2], -0.5829880927190296547e-3, 1e-14,
5788 "eraPn00",
"rp13", status);
5790 vvd(rp[1][0], 0.1341647231069759008e-2, 1e-14,
5791 "eraPn00",
"rp21", status);
5792 vvd(rp[1][1], 0.9999990999908750433, 1e-12,
5793 "eraPn00",
"rp22", status);
5794 vvd(rp[1][2], -0.3837444441583715468e-6, 1e-14,
5795 "eraPn00",
"rp23", status);
5797 vvd(rp[2][0], 0.5829880828740957684e-3, 1e-14,
5798 "eraPn00",
"rp31", status);
5799 vvd(rp[2][1], -0.3984203267708834759e-6, 1e-14,
5800 "eraPn00",
"rp32", status);
5801 vvd(rp[2][2], 0.9999998300623538046, 1e-12,
5802 "eraPn00",
"rp33", status);
5804 vvd(rbp[0][0], 0.9999989300052243993, 1e-12,
5805 "eraPn00",
"rbp11", status);
5806 vvd(rbp[0][1], -0.1341717990239703727e-2, 1e-14,
5807 "eraPn00",
"rbp12", status);
5808 vvd(rbp[0][2], -0.5829075749891684053e-3, 1e-14,
5809 "eraPn00",
"rbp13", status);
5811 vvd(rbp[1][0], 0.1341718013831739992e-2, 1e-14,
5812 "eraPn00",
"rbp21", status);
5813 vvd(rbp[1][1], 0.9999990998959191343, 1e-12,
5814 "eraPn00",
"rbp22", status);
5815 vvd(rbp[1][2], -0.3505759733565421170e-6, 1e-14,
5816 "eraPn00",
"rbp23", status);
5818 vvd(rbp[2][0], 0.5829075206857717883e-3, 1e-14,
5819 "eraPn00",
"rbp31", status);
5820 vvd(rbp[2][1], -0.4315219955198608970e-6, 1e-14,
5821 "eraPn00",
"rbp32", status);
5822 vvd(rbp[2][2], 0.9999998301093036269, 1e-12,
5823 "eraPn00",
"rbp33", status);
5825 vvd(rn[0][0], 0.9999999999536069682, 1e-12,
5826 "eraPn00",
"rn11", status);
5827 vvd(rn[0][1], 0.8837746144872140812e-5, 1e-16,
5828 "eraPn00",
"rn12", status);
5829 vvd(rn[0][2], 0.3831488838252590008e-5, 1e-16,
5830 "eraPn00",
"rn13", status);
5832 vvd(rn[1][0], -0.8837590456633197506e-5, 1e-16,
5833 "eraPn00",
"rn21", status);
5834 vvd(rn[1][1], 0.9999999991354692733, 1e-12,
5835 "eraPn00",
"rn22", status);
5836 vvd(rn[1][2], -0.4063198798559573702e-4, 1e-16,
5837 "eraPn00",
"rn23", status);
5839 vvd(rn[2][0], -0.3831847930135328368e-5, 1e-16,
5840 "eraPn00",
"rn31", status);
5841 vvd(rn[2][1], 0.4063195412258150427e-4, 1e-16,
5842 "eraPn00",
"rn32", status);
5843 vvd(rn[2][2], 0.9999999991671806225, 1e-12,
5844 "eraPn00",
"rn33", status);
5846 vvd(rbpn[0][0], 0.9999989440499982806, 1e-12,
5847 "eraPn00",
"rbpn11", status);
5848 vvd(rbpn[0][1], -0.1332880253640848301e-2, 1e-14,
5849 "eraPn00",
"rbpn12", status);
5850 vvd(rbpn[0][2], -0.5790760898731087295e-3, 1e-14,
5851 "eraPn00",
"rbpn13", status);
5853 vvd(rbpn[1][0], 0.1332856746979948745e-2, 1e-14,
5854 "eraPn00",
"rbpn21", status);
5855 vvd(rbpn[1][1], 0.9999991109064768883, 1e-12,
5856 "eraPn00",
"rbpn22", status);
5857 vvd(rbpn[1][2], -0.4097740555723063806e-4, 1e-14,
5858 "eraPn00",
"rbpn23", status);
5860 vvd(rbpn[2][0], 0.5791301929950205000e-3, 1e-14,
5861 "eraPn00",
"rbpn31", status);
5862 vvd(rbpn[2][1], 0.4020553681373702931e-4, 1e-14,
5863 "eraPn00",
"rbpn32", status);
5864 vvd(rbpn[2][2], 0.9999998314958529887, 1e-12,
5865 "eraPn00",
"rbpn33", status);
5885 double dpsi, deps, epsa,
5886 rb[3][3], rp[3][3], rbp[3][3], rn[3][3], rbpn[3][3];
5890 &dpsi, &deps, &epsa, rb, rp, rbp, rn, rbpn);
5892 vvd(dpsi, -0.9630909107115518431e-5, 1e-12,
5893 "eraPn00a",
"dpsi", status);
5894 vvd(deps, 0.4063239174001678710e-4, 1e-12,
5895 "eraPn00a",
"deps", status);
5896 vvd(epsa, 0.4090791789404229916, 1e-12,
"eraPn00a",
"epsa", status);
5898 vvd(rb[0][0], 0.9999999999999942498, 1e-12,
5899 "eraPn00a",
"rb11", status);
5900 vvd(rb[0][1], -0.7078279744199196626e-7, 1e-16,
5901 "eraPn00a",
"rb12", status);
5902 vvd(rb[0][2], 0.8056217146976134152e-7, 1e-16,
5903 "eraPn00a",
"rb13", status);
5905 vvd(rb[1][0], 0.7078279477857337206e-7, 1e-16,
5906 "eraPn00a",
"rb21", status);
5907 vvd(rb[1][1], 0.9999999999999969484, 1e-12,
5908 "eraPn00a",
"rb22", status);
5909 vvd(rb[1][2], 0.3306041454222136517e-7, 1e-16,
5910 "eraPn00a",
"rb23", status);
5912 vvd(rb[2][0], -0.8056217380986972157e-7, 1e-16,
5913 "eraPn00a",
"rb31", status);
5914 vvd(rb[2][1], -0.3306040883980552500e-7, 1e-16,
5915 "eraPn00a",
"rb32", status);
5916 vvd(rb[2][2], 0.9999999999999962084, 1e-12,
5917 "eraPn00a",
"rb33", status);
5919 vvd(rp[0][0], 0.9999989300532289018, 1e-12,
5920 "eraPn00a",
"rp11", status);
5921 vvd(rp[0][1], -0.1341647226791824349e-2, 1e-14,
5922 "eraPn00a",
"rp12", status);
5923 vvd(rp[0][2], -0.5829880927190296547e-3, 1e-14,
5924 "eraPn00a",
"rp13", status);
5926 vvd(rp[1][0], 0.1341647231069759008e-2, 1e-14,
5927 "eraPn00a",
"rp21", status);
5928 vvd(rp[1][1], 0.9999990999908750433, 1e-12,
5929 "eraPn00a",
"rp22", status);
5930 vvd(rp[1][2], -0.3837444441583715468e-6, 1e-14,
5931 "eraPn00a",
"rp23", status);
5933 vvd(rp[2][0], 0.5829880828740957684e-3, 1e-14,
5934 "eraPn00a",
"rp31", status);
5935 vvd(rp[2][1], -0.3984203267708834759e-6, 1e-14,
5936 "eraPn00a",
"rp32", status);
5937 vvd(rp[2][2], 0.9999998300623538046, 1e-12,
5938 "eraPn00a",
"rp33", status);
5940 vvd(rbp[0][0], 0.9999989300052243993, 1e-12,
5941 "eraPn00a",
"rbp11", status);
5942 vvd(rbp[0][1], -0.1341717990239703727e-2, 1e-14,
5943 "eraPn00a",
"rbp12", status);
5944 vvd(rbp[0][2], -0.5829075749891684053e-3, 1e-14,
5945 "eraPn00a",
"rbp13", status);
5947 vvd(rbp[1][0], 0.1341718013831739992e-2, 1e-14,
5948 "eraPn00a",
"rbp21", status);
5949 vvd(rbp[1][1], 0.9999990998959191343, 1e-12,
5950 "eraPn00a",
"rbp22", status);
5951 vvd(rbp[1][2], -0.3505759733565421170e-6, 1e-14,
5952 "eraPn00a",
"rbp23", status);
5954 vvd(rbp[2][0], 0.5829075206857717883e-3, 1e-14,
5955 "eraPn00a",
"rbp31", status);
5956 vvd(rbp[2][1], -0.4315219955198608970e-6, 1e-14,
5957 "eraPn00a",
"rbp32", status);
5958 vvd(rbp[2][2], 0.9999998301093036269, 1e-12,
5959 "eraPn00a",
"rbp33", status);
5961 vvd(rn[0][0], 0.9999999999536227949, 1e-12,
5962 "eraPn00a",
"rn11", status);
5963 vvd(rn[0][1], 0.8836238544090873336e-5, 1e-14,
5964 "eraPn00a",
"rn12", status);
5965 vvd(rn[0][2], 0.3830835237722400669e-5, 1e-14,
5966 "eraPn00a",
"rn13", status);
5968 vvd(rn[1][0], -0.8836082880798569274e-5, 1e-14,
5969 "eraPn00a",
"rn21", status);
5970 vvd(rn[1][1], 0.9999999991354655028, 1e-12,
5971 "eraPn00a",
"rn22", status);
5972 vvd(rn[1][2], -0.4063240865362499850e-4, 1e-14,
5973 "eraPn00a",
"rn23", status);
5975 vvd(rn[2][0], -0.3831194272065995866e-5, 1e-14,
5976 "eraPn00a",
"rn31", status);
5977 vvd(rn[2][1], 0.4063237480216291775e-4, 1e-14,
5978 "eraPn00a",
"rn32", status);
5979 vvd(rn[2][2], 0.9999999991671660338, 1e-12,
5980 "eraPn00a",
"rn33", status);
5982 vvd(rbpn[0][0], 0.9999989440476103435, 1e-12,
5983 "eraPn00a",
"rbpn11", status);
5984 vvd(rbpn[0][1], -0.1332881761240011763e-2, 1e-14,
5985 "eraPn00a",
"rbpn12", status);
5986 vvd(rbpn[0][2], -0.5790767434730085751e-3, 1e-14,
5987 "eraPn00a",
"rbpn13", status);
5989 vvd(rbpn[1][0], 0.1332858254308954658e-2, 1e-14,
5990 "eraPn00a",
"rbpn21", status);
5991 vvd(rbpn[1][1], 0.9999991109044505577, 1e-12,
5992 "eraPn00a",
"rbpn22", status);
5993 vvd(rbpn[1][2], -0.4097782710396580452e-4, 1e-14,
5994 "eraPn00a",
"rbpn23", status);
5996 vvd(rbpn[2][0], 0.5791308472168152904e-3, 1e-14,
5997 "eraPn00a",
"rbpn31", status);
5998 vvd(rbpn[2][1], 0.4020595661591500259e-4, 1e-14,
5999 "eraPn00a",
"rbpn32", status);
6000 vvd(rbpn[2][2], 0.9999998314954572304, 1e-12,
6001 "eraPn00a",
"rbpn33", status);
6021 double dpsi, deps, epsa,
6022 rb[3][3], rp[3][3], rbp[3][3], rn[3][3], rbpn[3][3];
6025 eraPn00b(2400000.5, 53736.0, &dpsi, &deps, &epsa,
6026 rb, rp, rbp, rn, rbpn);
6028 vvd(dpsi, -0.9632552291148362783e-5, 1e-12,
6029 "eraPn00b",
"dpsi", status);
6030 vvd(deps, 0.4063197106621159367e-4, 1e-12,
6031 "eraPn00b",
"deps", status);
6032 vvd(epsa, 0.4090791789404229916, 1e-12,
"eraPn00b",
"epsa", status);
6034 vvd(rb[0][0], 0.9999999999999942498, 1e-12,
6035 "eraPn00b",
"rb11", status);
6036 vvd(rb[0][1], -0.7078279744199196626e-7, 1e-16,
6037 "eraPn00b",
"rb12", status);
6038 vvd(rb[0][2], 0.8056217146976134152e-7, 1e-16,
6039 "eraPn00b",
"rb13", status);
6041 vvd(rb[1][0], 0.7078279477857337206e-7, 1e-16,
6042 "eraPn00b",
"rb21", status);
6043 vvd(rb[1][1], 0.9999999999999969484, 1e-12,
6044 "eraPn00b",
"rb22", status);
6045 vvd(rb[1][2], 0.3306041454222136517e-7, 1e-16,
6046 "eraPn00b",
"rb23", status);
6048 vvd(rb[2][0], -0.8056217380986972157e-7, 1e-16,
6049 "eraPn00b",
"rb31", status);
6050 vvd(rb[2][1], -0.3306040883980552500e-7, 1e-16,
6051 "eraPn00b",
"rb32", status);
6052 vvd(rb[2][2], 0.9999999999999962084, 1e-12,
6053 "eraPn00b",
"rb33", status);
6055 vvd(rp[0][0], 0.9999989300532289018, 1e-12,
6056 "eraPn00b",
"rp11", status);
6057 vvd(rp[0][1], -0.1341647226791824349e-2, 1e-14,
6058 "eraPn00b",
"rp12", status);
6059 vvd(rp[0][2], -0.5829880927190296547e-3, 1e-14,
6060 "eraPn00b",
"rp13", status);
6062 vvd(rp[1][0], 0.1341647231069759008e-2, 1e-14,
6063 "eraPn00b",
"rp21", status);
6064 vvd(rp[1][1], 0.9999990999908750433, 1e-12,
6065 "eraPn00b",
"rp22", status);
6066 vvd(rp[1][2], -0.3837444441583715468e-6, 1e-14,
6067 "eraPn00b",
"rp23", status);
6069 vvd(rp[2][0], 0.5829880828740957684e-3, 1e-14,
6070 "eraPn00b",
"rp31", status);
6071 vvd(rp[2][1], -0.3984203267708834759e-6, 1e-14,
6072 "eraPn00b",
"rp32", status);
6073 vvd(rp[2][2], 0.9999998300623538046, 1e-12,
6074 "eraPn00b",
"rp33", status);
6076 vvd(rbp[0][0], 0.9999989300052243993, 1e-12,
6077 "eraPn00b",
"rbp11", status);
6078 vvd(rbp[0][1], -0.1341717990239703727e-2, 1e-14,
6079 "eraPn00b",
"rbp12", status);
6080 vvd(rbp[0][2], -0.5829075749891684053e-3, 1e-14,
6081 "eraPn00b",
"rbp13", status);
6083 vvd(rbp[1][0], 0.1341718013831739992e-2, 1e-14,
6084 "eraPn00b",
"rbp21", status);
6085 vvd(rbp[1][1], 0.9999990998959191343, 1e-12,
6086 "eraPn00b",
"rbp22", status);
6087 vvd(rbp[1][2], -0.3505759733565421170e-6, 1e-14,
6088 "eraPn00b",
"rbp23", status);
6090 vvd(rbp[2][0], 0.5829075206857717883e-3, 1e-14,
6091 "eraPn00b",
"rbp31", status);
6092 vvd(rbp[2][1], -0.4315219955198608970e-6, 1e-14,
6093 "eraPn00b",
"rbp32", status);
6094 vvd(rbp[2][2], 0.9999998301093036269, 1e-12,
6095 "eraPn00b",
"rbp33", status);
6097 vvd(rn[0][0], 0.9999999999536069682, 1e-12,
6098 "eraPn00b",
"rn11", status);
6099 vvd(rn[0][1], 0.8837746144871248011e-5, 1e-14,
6100 "eraPn00b",
"rn12", status);
6101 vvd(rn[0][2], 0.3831488838252202945e-5, 1e-14,
6102 "eraPn00b",
"rn13", status);
6104 vvd(rn[1][0], -0.8837590456632304720e-5, 1e-14,
6105 "eraPn00b",
"rn21", status);
6106 vvd(rn[1][1], 0.9999999991354692733, 1e-12,
6107 "eraPn00b",
"rn22", status);
6108 vvd(rn[1][2], -0.4063198798559591654e-4, 1e-14,
6109 "eraPn00b",
"rn23", status);
6111 vvd(rn[2][0], -0.3831847930134941271e-5, 1e-14,
6112 "eraPn00b",
"rn31", status);
6113 vvd(rn[2][1], 0.4063195412258168380e-4, 1e-14,
6114 "eraPn00b",
"rn32", status);
6115 vvd(rn[2][2], 0.9999999991671806225, 1e-12,
6116 "eraPn00b",
"rn33", status);
6118 vvd(rbpn[0][0], 0.9999989440499982806, 1e-12,
6119 "eraPn00b",
"rbpn11", status);
6120 vvd(rbpn[0][1], -0.1332880253640849194e-2, 1e-14,
6121 "eraPn00b",
"rbpn12", status);
6122 vvd(rbpn[0][2], -0.5790760898731091166e-3, 1e-14,
6123 "eraPn00b",
"rbpn13", status);
6125 vvd(rbpn[1][0], 0.1332856746979949638e-2, 1e-14,
6126 "eraPn00b",
"rbpn21", status);
6127 vvd(rbpn[1][1], 0.9999991109064768883, 1e-12,
6128 "eraPn00b",
"rbpn22", status);
6129 vvd(rbpn[1][2], -0.4097740555723081811e-4, 1e-14,
6130 "eraPn00b",
"rbpn23", status);
6132 vvd(rbpn[2][0], 0.5791301929950208873e-3, 1e-14,
6133 "eraPn00b",
"rbpn31", status);
6134 vvd(rbpn[2][1], 0.4020553681373720832e-4, 1e-14,
6135 "eraPn00b",
"rbpn32", status);
6136 vvd(rbpn[2][2], 0.9999998314958529887, 1e-12,
6137 "eraPn00b",
"rbpn33", status);
6157 double dpsi, deps, epsa;
6158 double rb[3][3], rp[3][3], rbp[3][3], rn[3][3], rbpn[3][3];
6161 eraPn06a(2400000.5, 53736.0, &dpsi, &deps, &epsa,
6162 rb, rp, rbp, rn, rbpn);
6164 vvd(dpsi, -0.9630912025820308797e-5, 1e-12,
6165 "eraPn06a",
"dpsi", status);
6166 vvd(deps, 0.4063238496887249798e-4, 1e-12,
6167 "eraPn06a",
"deps", status);
6168 vvd(epsa, 0.4090789763356509926, 1e-12,
"eraPn06a",
"epsa", status);
6170 vvd(rb[0][0], 0.9999999999999942497, 1e-12,
6171 "eraPn06a",
"rb11", status);
6172 vvd(rb[0][1], -0.7078368960971557145e-7, 1e-14,
6173 "eraPn06a",
"rb12", status);
6174 vvd(rb[0][2], 0.8056213977613185606e-7, 1e-14,
6175 "eraPn06a",
"rb13", status);
6177 vvd(rb[1][0], 0.7078368694637674333e-7, 1e-14,
6178 "eraPn06a",
"rb21", status);
6179 vvd(rb[1][1], 0.9999999999999969484, 1e-12,
6180 "eraPn06a",
"rb22", status);
6181 vvd(rb[1][2], 0.3305943742989134124e-7, 1e-14,
6182 "eraPn06a",
"rb23", status);
6184 vvd(rb[2][0], -0.8056214211620056792e-7, 1e-14,
6185 "eraPn06a",
"rb31", status);
6186 vvd(rb[2][1], -0.3305943172740586950e-7, 1e-14,
6187 "eraPn06a",
"rb32", status);
6188 vvd(rb[2][2], 0.9999999999999962084, 1e-12,
6189 "eraPn06a",
"rb33", status);
6191 vvd(rp[0][0], 0.9999989300536854831, 1e-12,
6192 "eraPn06a",
"rp11", status);
6193 vvd(rp[0][1], -0.1341646886204443795e-2, 1e-14,
6194 "eraPn06a",
"rp12", status);
6195 vvd(rp[0][2], -0.5829880933488627759e-3, 1e-14,
6196 "eraPn06a",
"rp13", status);
6198 vvd(rp[1][0], 0.1341646890569782183e-2, 1e-14,
6199 "eraPn06a",
"rp21", status);
6200 vvd(rp[1][1], 0.9999990999913319321, 1e-12,
6201 "eraPn06a",
"rp22", status);
6202 vvd(rp[1][2], -0.3835944216374477457e-6, 1e-14,
6203 "eraPn06a",
"rp23", status);
6205 vvd(rp[2][0], 0.5829880833027867368e-3, 1e-14,
6206 "eraPn06a",
"rp31", status);
6207 vvd(rp[2][1], -0.3985701514686976112e-6, 1e-14,
6208 "eraPn06a",
"rp32", status);
6209 vvd(rp[2][2], 0.9999998300623534950, 1e-12,
6210 "eraPn06a",
"rp33", status);
6212 vvd(rbp[0][0], 0.9999989300056797893, 1e-12,
6213 "eraPn06a",
"rbp11", status);
6214 vvd(rbp[0][1], -0.1341717650545059598e-2, 1e-14,
6215 "eraPn06a",
"rbp12", status);
6216 vvd(rbp[0][2], -0.5829075756493728856e-3, 1e-14,
6217 "eraPn06a",
"rbp13", status);
6219 vvd(rbp[1][0], 0.1341717674223918101e-2, 1e-14,
6220 "eraPn06a",
"rbp21", status);
6221 vvd(rbp[1][1], 0.9999990998963748448, 1e-12,
6222 "eraPn06a",
"rbp22", status);
6223 vvd(rbp[1][2], -0.3504269280170069029e-6, 1e-14,
6224 "eraPn06a",
"rbp23", status);
6226 vvd(rbp[2][0], 0.5829075211461454599e-3, 1e-14,
6227 "eraPn06a",
"rbp31", status);
6228 vvd(rbp[2][1], -0.4316708436255949093e-6, 1e-14,
6229 "eraPn06a",
"rbp32", status);
6230 vvd(rbp[2][2], 0.9999998301093032943, 1e-12,
6231 "eraPn06a",
"rbp33", status);
6233 vvd(rn[0][0], 0.9999999999536227668, 1e-12,
6234 "eraPn06a",
"rn11", status);
6235 vvd(rn[0][1], 0.8836241998111535233e-5, 1e-14,
6236 "eraPn06a",
"rn12", status);
6237 vvd(rn[0][2], 0.3830834608415287707e-5, 1e-14,
6238 "eraPn06a",
"rn13", status);
6240 vvd(rn[1][0], -0.8836086334870740138e-5, 1e-14,
6241 "eraPn06a",
"rn21", status);
6242 vvd(rn[1][1], 0.9999999991354657474, 1e-12,
6243 "eraPn06a",
"rn22", status);
6244 vvd(rn[1][2], -0.4063240188248455065e-4, 1e-14,
6245 "eraPn06a",
"rn23", status);
6247 vvd(rn[2][0], -0.3831193642839398128e-5, 1e-14,
6248 "eraPn06a",
"rn31", status);
6249 vvd(rn[2][1], 0.4063236803101479770e-4, 1e-14,
6250 "eraPn06a",
"rn32", status);
6251 vvd(rn[2][2], 0.9999999991671663114, 1e-12,
6252 "eraPn06a",
"rn33", status);
6254 vvd(rbpn[0][0], 0.9999989440480669738, 1e-12,
6255 "eraPn06a",
"rbpn11", status);
6256 vvd(rbpn[0][1], -0.1332881418091915973e-2, 1e-14,
6257 "eraPn06a",
"rbpn12", status);
6258 vvd(rbpn[0][2], -0.5790767447612042565e-3, 1e-14,
6259 "eraPn06a",
"rbpn13", status);
6261 vvd(rbpn[1][0], 0.1332857911250989133e-2, 1e-14,
6262 "eraPn06a",
"rbpn21", status);
6263 vvd(rbpn[1][1], 0.9999991109049141908, 1e-12,
6264 "eraPn06a",
"rbpn22", status);
6265 vvd(rbpn[1][2], -0.4097767128546784878e-4, 1e-14,
6266 "eraPn06a",
"rbpn23", status);
6268 vvd(rbpn[2][0], 0.5791308482835292617e-3, 1e-14,
6269 "eraPn06a",
"rbpn31", status);
6270 vvd(rbpn[2][1], 0.4020580099454020310e-4, 1e-14,
6271 "eraPn06a",
"rbpn32", status);
6272 vvd(rbpn[2][2], 0.9999998314954628695, 1e-12,
6273 "eraPn06a",
"rbpn33", status);
6293 double dpsi, deps, epsa,
6294 rb[3][3], rp[3][3], rbp[3][3], rn[3][3], rbpn[3][3];
6297 dpsi = -0.9632552291149335877e-5;
6298 deps = 0.4063197106621141414e-4;
6300 eraPn06(2400000.5, 53736.0, dpsi, deps,
6301 &epsa, rb, rp, rbp, rn, rbpn);
6303 vvd(epsa, 0.4090789763356509926, 1e-12,
"eraPn06",
"epsa", status);
6305 vvd(rb[0][0], 0.9999999999999942497, 1e-12,
6306 "eraPn06",
"rb11", status);
6307 vvd(rb[0][1], -0.7078368960971557145e-7, 1e-14,
6308 "eraPn06",
"rb12", status);
6309 vvd(rb[0][2], 0.8056213977613185606e-7, 1e-14,
6310 "eraPn06",
"rb13", status);
6312 vvd(rb[1][0], 0.7078368694637674333e-7, 1e-14,
6313 "eraPn06",
"rb21", status);
6314 vvd(rb[1][1], 0.9999999999999969484, 1e-12,
6315 "eraPn06",
"rb22", status);
6316 vvd(rb[1][2], 0.3305943742989134124e-7, 1e-14,
6317 "eraPn06",
"rb23", status);
6319 vvd(rb[2][0], -0.8056214211620056792e-7, 1e-14,
6320 "eraPn06",
"rb31", status);
6321 vvd(rb[2][1], -0.3305943172740586950e-7, 1e-14,
6322 "eraPn06",
"rb32", status);
6323 vvd(rb[2][2], 0.9999999999999962084, 1e-12,
6324 "eraPn06",
"rb33", status);
6326 vvd(rp[0][0], 0.9999989300536854831, 1e-12,
6327 "eraPn06",
"rp11", status);
6328 vvd(rp[0][1], -0.1341646886204443795e-2, 1e-14,
6329 "eraPn06",
"rp12", status);
6330 vvd(rp[0][2], -0.5829880933488627759e-3, 1e-14,
6331 "eraPn06",
"rp13", status);
6333 vvd(rp[1][0], 0.1341646890569782183e-2, 1e-14,
6334 "eraPn06",
"rp21", status);
6335 vvd(rp[1][1], 0.9999990999913319321, 1e-12,
6336 "eraPn06",
"rp22", status);
6337 vvd(rp[1][2], -0.3835944216374477457e-6, 1e-14,
6338 "eraPn06",
"rp23", status);
6340 vvd(rp[2][0], 0.5829880833027867368e-3, 1e-14,
6341 "eraPn06",
"rp31", status);
6342 vvd(rp[2][1], -0.3985701514686976112e-6, 1e-14,
6343 "eraPn06",
"rp32", status);
6344 vvd(rp[2][2], 0.9999998300623534950, 1e-12,
6345 "eraPn06",
"rp33", status);
6347 vvd(rbp[0][0], 0.9999989300056797893, 1e-12,
6348 "eraPn06",
"rbp11", status);
6349 vvd(rbp[0][1], -0.1341717650545059598e-2, 1e-14,
6350 "eraPn06",
"rbp12", status);
6351 vvd(rbp[0][2], -0.5829075756493728856e-3, 1e-14,
6352 "eraPn06",
"rbp13", status);
6354 vvd(rbp[1][0], 0.1341717674223918101e-2, 1e-14,
6355 "eraPn06",
"rbp21", status);
6356 vvd(rbp[1][1], 0.9999990998963748448, 1e-12,
6357 "eraPn06",
"rbp22", status);
6358 vvd(rbp[1][2], -0.3504269280170069029e-6, 1e-14,
6359 "eraPn06",
"rbp23", status);
6361 vvd(rbp[2][0], 0.5829075211461454599e-3, 1e-14,
6362 "eraPn06",
"rbp31", status);
6363 vvd(rbp[2][1], -0.4316708436255949093e-6, 1e-14,
6364 "eraPn06",
"rbp32", status);
6365 vvd(rbp[2][2], 0.9999998301093032943, 1e-12,
6366 "eraPn06",
"rbp33", status);
6368 vvd(rn[0][0], 0.9999999999536069682, 1e-12,
6369 "eraPn06",
"rn11", status);
6370 vvd(rn[0][1], 0.8837746921149881914e-5, 1e-14,
6371 "eraPn06",
"rn12", status);
6372 vvd(rn[0][2], 0.3831487047682968703e-5, 1e-14,
6373 "eraPn06",
"rn13", status);
6375 vvd(rn[1][0], -0.8837591232983692340e-5, 1e-14,
6376 "eraPn06",
"rn21", status);
6377 vvd(rn[1][1], 0.9999999991354692664, 1e-12,
6378 "eraPn06",
"rn22", status);
6379 vvd(rn[1][2], -0.4063198798558931215e-4, 1e-14,
6380 "eraPn06",
"rn23", status);
6382 vvd(rn[2][0], -0.3831846139597250235e-5, 1e-14,
6383 "eraPn06",
"rn31", status);
6384 vvd(rn[2][1], 0.4063195412258792914e-4, 1e-14,
6385 "eraPn06",
"rn32", status);
6386 vvd(rn[2][2], 0.9999999991671806293, 1e-12,
6387 "eraPn06",
"rn33", status);
6389 vvd(rbpn[0][0], 0.9999989440504506688, 1e-12,
6390 "eraPn06",
"rbpn11", status);
6391 vvd(rbpn[0][1], -0.1332879913170492655e-2, 1e-14,
6392 "eraPn06",
"rbpn12", status);
6393 vvd(rbpn[0][2], -0.5790760923225655753e-3, 1e-14,
6394 "eraPn06",
"rbpn13", status);
6396 vvd(rbpn[1][0], 0.1332856406595754748e-2, 1e-14,
6397 "eraPn06",
"rbpn21", status);
6398 vvd(rbpn[1][1], 0.9999991109069366795, 1e-12,
6399 "eraPn06",
"rbpn22", status);
6400 vvd(rbpn[1][2], -0.4097725651142641812e-4, 1e-14,
6401 "eraPn06",
"rbpn23", status);
6403 vvd(rbpn[2][0], 0.5791301952321296716e-3, 1e-14,
6404 "eraPn06",
"rbpn31", status);
6405 vvd(rbpn[2][1], 0.4020538796195230577e-4, 1e-14,
6406 "eraPn06",
"rbpn32", status);
6407 vvd(rbpn[2][2], 0.9999998314958576778, 1e-12,
6408 "eraPn06",
"rbpn33", status);
6433 vvd(rbpn[0][0], 0.9999995832793134257, 1e-12,
6434 "eraPnm00a",
"11", status);
6435 vvd(rbpn[0][1], 0.8372384254137809439e-3, 1e-14,
6436 "eraPnm00a",
"12", status);
6437 vvd(rbpn[0][2], 0.3639684306407150645e-3, 1e-14,
6438 "eraPnm00a",
"13", status);
6440 vvd(rbpn[1][0], -0.8372535226570394543e-3, 1e-14,
6441 "eraPnm00a",
"21", status);
6442 vvd(rbpn[1][1], 0.9999996486491582471, 1e-12,
6443 "eraPnm00a",
"22", status);
6444 vvd(rbpn[1][2], 0.4132915262664072381e-4, 1e-14,
6445 "eraPnm00a",
"23", status);
6447 vvd(rbpn[2][0], -0.3639337004054317729e-3, 1e-14,
6448 "eraPnm00a",
"31", status);
6449 vvd(rbpn[2][1], -0.4163386925461775873e-4, 1e-14,
6450 "eraPnm00a",
"32", status);
6451 vvd(rbpn[2][2], 0.9999999329094390695, 1e-12,
6452 "eraPnm00a",
"33", status);
6477 vvd(rbpn[0][0], 0.9999995832776208280, 1e-12,
6478 "eraPnm00b",
"11", status);
6479 vvd(rbpn[0][1], 0.8372401264429654837e-3, 1e-14,
6480 "eraPnm00b",
"12", status);
6481 vvd(rbpn[0][2], 0.3639691681450271771e-3, 1e-14,
6482 "eraPnm00b",
"13", status);
6484 vvd(rbpn[1][0], -0.8372552234147137424e-3, 1e-14,
6485 "eraPnm00b",
"21", status);
6486 vvd(rbpn[1][1], 0.9999996486477686123, 1e-12,
6487 "eraPnm00b",
"22", status);
6488 vvd(rbpn[1][2], 0.4132832190946052890e-4, 1e-14,
6489 "eraPnm00b",
"23", status);
6491 vvd(rbpn[2][0], -0.3639344385341866407e-3, 1e-14,
6492 "eraPnm00b",
"31", status);
6493 vvd(rbpn[2][1], -0.4163303977421522785e-4, 1e-14,
6494 "eraPnm00b",
"32", status);
6495 vvd(rbpn[2][2], 0.9999999329092049734, 1e-12,
6496 "eraPnm00b",
"33", status);
6521 vvd(rbpn[0][0], 0.9999995832794205484, 1e-12,
6522 "eraPnm06a",
"11", status);
6523 vvd(rbpn[0][1], 0.8372382772630962111e-3, 1e-14,
6524 "eraPnm06a",
"12", status);
6525 vvd(rbpn[0][2], 0.3639684771140623099e-3, 1e-14,
6526 "eraPnm06a",
"13", status);
6528 vvd(rbpn[1][0], -0.8372533744743683605e-3, 1e-14,
6529 "eraPnm06a",
"21", status);
6530 vvd(rbpn[1][1], 0.9999996486492861646, 1e-12,
6531 "eraPnm06a",
"22", status);
6532 vvd(rbpn[1][2], 0.4132905944611019498e-4, 1e-14,
6533 "eraPnm06a",
"23", status);
6535 vvd(rbpn[2][0], -0.3639337469629464969e-3, 1e-14,
6536 "eraPnm06a",
"31", status);
6537 vvd(rbpn[2][1], -0.4163377605910663999e-4, 1e-14,
6538 "eraPnm06a",
"32", status);
6539 vvd(rbpn[2][2], 0.9999999329094260057, 1e-12,
6540 "eraPnm06a",
"33", status);
6560 double rmatpn[3][3];
6563 eraPnm80(2400000.5, 50123.9999, rmatpn);
6565 vvd(rmatpn[0][0], 0.9999995831934611169, 1e-12,
6566 "eraPnm80",
"11", status);
6567 vvd(rmatpn[0][1], 0.8373654045728124011e-3, 1e-14,
6568 "eraPnm80",
"12", status);
6569 vvd(rmatpn[0][2], 0.3639121916933106191e-3, 1e-14,
6570 "eraPnm80",
"13", status);
6572 vvd(rmatpn[1][0], -0.8373804896118301316e-3, 1e-14,
6573 "eraPnm80",
"21", status);
6574 vvd(rmatpn[1][1], 0.9999996485439674092, 1e-12,
6575 "eraPnm80",
"22", status);
6576 vvd(rmatpn[1][2], 0.4130202510421549752e-4, 1e-14,
6577 "eraPnm80",
"23", status);
6579 vvd(rmatpn[2][0], -0.3638774789072144473e-3, 1e-14,
6580 "eraPnm80",
"31", status);
6581 vvd(rmatpn[2][1], -0.4160674085851722359e-4, 1e-14,
6582 "eraPnm80",
"32", status);
6583 vvd(rmatpn[2][2], 0.9999999329310274805, 1e-12,
6584 "eraPnm80",
"33", status);
6604 double xp, yp, sp, rpom[3][3];
6608 yp = 1.860359247e-6;
6609 sp = -0.1367174580728891460e-10;
6613 vvd(rpom[0][0], 0.9999999999999674721, 1e-12,
6614 "eraPom00",
"11", status);
6615 vvd(rpom[0][1], -0.1367174580728846989e-10, 1e-16,
6616 "eraPom00",
"12", status);
6617 vvd(rpom[0][2], 0.2550602379999972345e-6, 1e-16,
6618 "eraPom00",
"13", status);
6620 vvd(rpom[1][0], 0.1414624947957029801e-10, 1e-16,
6621 "eraPom00",
"21", status);
6622 vvd(rpom[1][1], 0.9999999999982695317, 1e-12,
6623 "eraPom00",
"22", status);
6624 vvd(rpom[1][2], -0.1860359246998866389e-5, 1e-16,
6625 "eraPom00",
"23", status);
6627 vvd(rpom[2][0], -0.2550602379741215021e-6, 1e-16,
6628 "eraPom00",
"31", status);
6629 vvd(rpom[2][1], 0.1860359247002414021e-5, 1e-16,
6630 "eraPom00",
"32", status);
6631 vvd(rpom[2][2], 0.9999999999982370039, 1e-12,
6632 "eraPom00",
"33", status);
6652 double a[3], b[3], apb[3];
6665 vvd(apb[0], 3.0, 1e-12,
"eraPpp",
"0", status);
6666 vvd(apb[1], 5.0, 1e-12,
"eraPpp",
"1", status);
6667 vvd(apb[2], 7.0, 1e-12,
"eraPpp",
"2", status);
6687 double a[3], s, b[3], apsb[3];
6702 vvd(apsb[0], 7.0, 1e-12,
"eraPpsp",
"0", status);
6703 vvd(apsb[1], 17.0, 1e-12,
"eraPpsp",
"1", status);
6704 vvd(apsb[2], 23.0, 1e-12,
"eraPpsp",
"2", status);
6724 double dpsipr, depspr;
6726 eraPr00(2400000.5, 53736, &dpsipr, &depspr);
6728 vvd(dpsipr, -0.8716465172668347629e-7, 1e-22,
6729 "eraPr00",
"dpsipr", status);
6730 vvd(depspr, -0.7342018386722813087e-8, 1e-22,
6731 "eraPr00",
"depspr", status);
6751 double ep01, ep02, ep11, ep12, zeta, z, theta;
6759 eraPrec76(ep01, ep02, ep11, ep12, &zeta, &z, &theta);
6761 vvd(zeta, 0.5588961642000161243e-2, 1e-12,
6762 "eraPrec76",
"zeta", status);
6763 vvd(z, 0.5589922365870680624e-2, 1e-12,
6764 "eraPrec76",
"z", status);
6765 vvd(theta, 0.4858945471687296760e-2, 1e-12,
6766 "eraPrec76",
"theta", status);
6786 double pv[2][3], p[3];
6799 vvd(p[0], 0.3, 0.0,
"eraPv2p",
"1", status);
6800 vvd(p[1], 1.2, 0.0,
"eraPv2p",
"2", status);
6801 vvd(p[2], -2.5, 0.0,
"eraPv2p",
"3", status);
6821 double pv[2][3], theta, phi, r, td, pd, rd;
6824 pv[0][0] = -0.4514964673880165;
6825 pv[0][1] = 0.03093394277342585;
6826 pv[0][2] = 0.05594668105108779;
6828 pv[1][0] = 1.292270850663260e-5;
6829 pv[1][1] = 2.652814182060692e-6;
6830 pv[1][2] = 2.568431853930293e-6;
6832 eraPv2s(pv, &theta, &phi, &r, &td, &pd, &rd);
6834 vvd(theta, 3.073185307179586515, 1e-12,
"eraPv2s",
"theta", status);
6835 vvd(phi, 0.1229999999999999992, 1e-12,
"eraPv2s",
"phi", status);
6836 vvd(r, 0.4559999999999999757, 1e-12,
"eraPv2s",
"r", status);
6837 vvd(td, -0.7800000000000000364e-5, 1e-16,
"eraPv2s",
"td", status);
6838 vvd(pd, 0.9010000000000001639e-5, 1e-16,
"eraPv2s",
"pd", status);
6839 vvd(rd, -0.1229999999999999832e-4, 1e-16,
"eraPv2s",
"rd", status);
6859 double a[2][3], b[2][3], adb[2];
6880 vvd(adb[0], 20.0, 1e-12,
"eraPvdpv",
"1", status);
6881 vvd(adb[1], 50.0, 1e-12,
"eraPvdpv",
"2", status);
6901 double pv[2][3], r, s;
6914 vvd(r, 2.789265136196270604, 1e-12,
"eraPvm",
"r", status);
6915 vvd(s, 1.214495780149111922, 1e-12,
"eraPvm",
"s", status);
6935 double a[2][3], b[2][3], amb[2][3];
6956 vvd(amb[0][0], 1.0, 1e-12,
"eraPvmpv",
"11", status);
6957 vvd(amb[0][1], -1.0, 1e-12,
"eraPvmpv",
"21", status);
6958 vvd(amb[0][2], -1.0, 1e-12,
"eraPvmpv",
"31", status);
6960 vvd(amb[1][0], 2.0, 1e-12,
"eraPvmpv",
"12", status);
6961 vvd(amb[1][1], 4.0, 1e-12,
"eraPvmpv",
"22", status);
6962 vvd(amb[1][2], 2.0, 1e-12,
"eraPvmpv",
"32", status);
6982 double a[2][3], b[2][3], apb[2][3];
7003 vvd(apb[0][0], 3.0, 1e-12,
"eraPvppv",
"p1", status);
7004 vvd(apb[0][1], 5.0, 1e-12,
"eraPvppv",
"p2", status);
7005 vvd(apb[0][2], 7.0, 1e-12,
"eraPvppv",
"p3", status);
7007 vvd(apb[1][0], 8.0, 1e-12,
"eraPvppv",
"v1", status);
7008 vvd(apb[1][1], 8.0, 1e-12,
"eraPvppv",
"v2", status);
7009 vvd(apb[1][2], 4.0, 1e-12,
"eraPvppv",
"v3", status);
7029 double pv[2][3], ra, dec, pmr, pmd, px, rv;
7033 pv[0][0] = 126668.5912743160601;
7034 pv[0][1] = 2136.792716839935195;
7035 pv[0][2] = -245251.2339876830091;
7037 pv[1][0] = -0.4051854035740712739e-2;
7038 pv[1][1] = -0.6253919754866173866e-2;
7039 pv[1][2] = 0.1189353719774107189e-1;
7041 j =
eraPvstar(pv, &ra, &dec, &pmr, &pmd, &px, &rv);
7043 vvd(ra, 0.1686756e-1, 1e-12,
"eraPvstar",
"ra", status);
7044 vvd(dec, -1.093989828, 1e-12,
"eraPvstar",
"dec", status);
7045 vvd(pmr, -0.178323516e-4, 1e-16,
"eraPvstar",
"pmr", status);
7046 vvd(pmd, 0.2336024047e-5, 1e-16,
"eraPvstar",
"pmd", status);
7047 vvd(px, 0.74723, 1e-12,
"eraPvstar",
"px", status);
7048 vvd(rv, -21.6, 1e-11,
"eraPvstar",
"rv", status);
7050 viv(j, 0,
"eraPvstar",
"j", status);
7070 double elong, phi, hm, xp, yp, sp, theta, pv[2][3];
7081 eraPvtob(elong, phi, hm, xp, yp, sp, theta, pv);
7083 vvd(pv[0][0], 4225081.367071159207, 1e-5,
7084 "eraPvtob",
"p(1)", status);
7085 vvd(pv[0][1], 3681943.215856198144, 1e-5,
7086 "eraPvtob",
"p(2)", status);
7087 vvd(pv[0][2], 3041149.399241260785, 1e-5,
7088 "eraPvtob",
"p(3)", status);
7089 vvd(pv[1][0], -268.4915389365998787, 1e-9,
7090 "eraPvtob",
"v(1)", status);
7091 vvd(pv[1][1], 308.0977983288903123, 1e-9,
7092 "eraPvtob",
"v(2)", status);
7094 "eraPvtob",
"v(3)", status);
7114 double pv[2][3], upv[2][3];
7117 pv[0][0] = 126668.5912743160734;
7118 pv[0][1] = 2136.792716839935565;
7119 pv[0][2] = -245251.2339876830229;
7121 pv[1][0] = -0.4051854035740713039e-2;
7122 pv[1][1] = -0.6253919754866175788e-2;
7123 pv[1][2] = 0.1189353719774107615e-1;
7127 vvd(upv[0][0], 126656.7598605317105, 1e-12,
7128 "eraPvu",
"p1", status);
7129 vvd(upv[0][1], 2118.531271155726332, 1e-12,
7130 "eraPvu",
"p2", status);
7131 vvd(upv[0][2], -245216.5048590656190, 1e-12,
7132 "eraPvu",
"p3", status);
7134 vvd(upv[1][0], -0.4051854035740713039e-2, 1e-12,
7135 "eraPvu",
"v1", status);
7136 vvd(upv[1][1], -0.6253919754866175788e-2, 1e-12,
7137 "eraPvu",
"v2", status);
7138 vvd(upv[1][2], 0.1189353719774107615e-1, 1e-12,
7139 "eraPvu",
"v3", status);
7159 double pv[2][3], p[3];
7162 pv[0][0] = 126668.5912743160734;
7163 pv[0][1] = 2136.792716839935565;
7164 pv[0][2] = -245251.2339876830229;
7166 pv[1][0] = -0.4051854035740713039e-2;
7167 pv[1][1] = -0.6253919754866175788e-2;
7168 pv[1][2] = 0.1189353719774107615e-1;
7172 vvd(p[0], 126656.7598605317105, 1e-12,
"eraPvup",
"1", status);
7173 vvd(p[1], 2118.531271155726332, 1e-12,
"eraPvup",
"2", status);
7174 vvd(p[2], -245216.5048590656190, 1e-12,
"eraPvup",
"3", status);
7194 double a[2][3], b[2][3], axb[2][3];
7215 vvd(axb[0][0], -1.0, 1e-12,
"eraPvxpv",
"p1", status);
7216 vvd(axb[0][1], -5.0, 1e-12,
"eraPvxpv",
"p2", status);
7217 vvd(axb[0][2], 4.0, 1e-12,
"eraPvxpv",
"p3", status);
7219 vvd(axb[1][0], -2.0, 1e-12,
"eraPvxpv",
"v1", status);
7220 vvd(axb[1][1], -36.0, 1e-12,
"eraPvxpv",
"v2", status);
7221 vvd(axb[1][2], 22.0, 1e-12,
"eraPvxpv",
"v3", status);
7241 double a[3], b[3], axb[3];
7254 vvd(axb[0], -1.0, 1e-12,
"eraPxp",
"1", status);
7255 vvd(axb[1], -5.0, 1e-12,
"eraPxp",
"2", status);
7256 vvd(axb[2], 4.0, 1e-12,
"eraPxp",
"3", status);
7276 double phpa, tc, rh, wl, refa, refb;
7284 eraRefco(phpa, tc, rh, wl, &refa, &refb);
7286 vvd(refa, 0.2264949956241415009e-3, 1e-15,
7287 "eraRefco",
"refa", status);
7288 vvd(refb, -0.2598658261729343970e-6, 1e-18,
7289 "eraRefco",
"refb", status);
7309 double r[3][3], w[3];
7326 vvd(w[0], 0.0, 1e-12,
"eraRm2v",
"1", status);
7327 vvd(w[1], 1.413716694115406957, 1e-12,
"eraRm2v",
"2", status);
7328 vvd(w[2], -1.884955592153875943, 1e-12,
"eraRm2v",
"3", status);
7348 double w[3], r[3][3];
7357 vvd(r[0][0], -0.7071067782221119905, 1e-14,
"eraRv2m",
"11", status);
7358 vvd(r[0][1], -0.5656854276809129651, 1e-14,
"eraRv2m",
"12", status);
7359 vvd(r[0][2], -0.4242640700104211225, 1e-14,
"eraRv2m",
"13", status);
7361 vvd(r[1][0], 0.5656854276809129651, 1e-14,
"eraRv2m",
"21", status);
7362 vvd(r[1][1], -0.0925483394532274246, 1e-14,
"eraRv2m",
"22", status);
7363 vvd(r[1][2], -0.8194112531408833269, 1e-14,
"eraRv2m",
"23", status);
7365 vvd(r[2][0], 0.4242640700104211225, 1e-14,
"eraRv2m",
"31", status);
7366 vvd(r[2][1], -0.8194112531408833269, 1e-14,
"eraRv2m",
"32", status);
7367 vvd(r[2][2], 0.3854415612311154341, 1e-14,
"eraRv2m",
"33", status);
7387 double phi, r[3][3];
7406 vvd(r[0][0], 2.0, 0.0,
"eraRx",
"11", status);
7407 vvd(r[0][1], 3.0, 0.0,
"eraRx",
"12", status);
7408 vvd(r[0][2], 2.0, 0.0,
"eraRx",
"13", status);
7410 vvd(r[1][0], 3.839043388235612460, 1e-12,
"eraRx",
"21", status);
7411 vvd(r[1][1], 3.237033249594111899, 1e-12,
"eraRx",
"22", status);
7412 vvd(r[1][2], 4.516714379005982719, 1e-12,
"eraRx",
"23", status);
7414 vvd(r[2][0], 1.806030415924501684, 1e-12,
"eraRx",
"31", status);
7415 vvd(r[2][1], 3.085711545336372503, 1e-12,
"eraRx",
"32", status);
7416 vvd(r[2][2], 3.687721683977873065, 1e-12,
"eraRx",
"33", status);
7436 double r[3][3], p[3], rp[3];
7457 vvd(rp[0], 5.1, 1e-12,
"eraRxp",
"1", status);
7458 vvd(rp[1], 3.9, 1e-12,
"eraRxp",
"2", status);
7459 vvd(rp[2], 7.1, 1e-12,
"eraRxp",
"3", status);
7479 double r[3][3], pv[2][3], rpv[2][3];
7504 vvd(rpv[0][0], 5.1, 1e-12,
"eraRxpv",
"11", status);
7505 vvd(rpv[1][0], 3.8, 1e-12,
"eraRxpv",
"12", status);
7507 vvd(rpv[0][1], 3.9, 1e-12,
"eraRxpv",
"21", status);
7508 vvd(rpv[1][1], 5.2, 1e-12,
"eraRxpv",
"22", status);
7510 vvd(rpv[0][2], 7.1, 1e-12,
"eraRxpv",
"31", status);
7511 vvd(rpv[1][2], 5.8, 1e-12,
"eraRxpv",
"32", status);
7531 double a[3][3], b[3][3], atb[3][3];
7560 vvd(atb[0][0], 20.0, 1e-12,
"eraRxr",
"11", status);
7561 vvd(atb[0][1], 7.0, 1e-12,
"eraRxr",
"12", status);
7562 vvd(atb[0][2], 9.0, 1e-12,
"eraRxr",
"13", status);
7564 vvd(atb[1][0], 20.0, 1e-12,
"eraRxr",
"21", status);
7565 vvd(atb[1][1], 8.0, 1e-12,
"eraRxr",
"22", status);
7566 vvd(atb[1][2], 11.0, 1e-12,
"eraRxr",
"23", status);
7568 vvd(atb[2][0], 34.0, 1e-12,
"eraRxr",
"31", status);
7569 vvd(atb[2][1], 10.0, 1e-12,
"eraRxr",
"32", status);
7570 vvd(atb[2][2], 15.0, 1e-12,
"eraRxr",
"33", status);
7590 double theta, r[3][3];
7609 vvd(r[0][0], 0.8651847818978159930, 1e-12,
"eraRy",
"11", status);
7610 vvd(r[0][1], 1.467194920539316554, 1e-12,
"eraRy",
"12", status);
7611 vvd(r[0][2], 0.1875137911274457342, 1e-12,
"eraRy",
"13", status);
7613 vvd(r[1][0], 3, 1e-12,
"eraRy",
"21", status);
7614 vvd(r[1][1], 2, 1e-12,
"eraRy",
"22", status);
7615 vvd(r[1][2], 3, 1e-12,
"eraRy",
"23", status);
7617 vvd(r[2][0], 3.500207892850427330, 1e-12,
"eraRy",
"31", status);
7618 vvd(r[2][1], 4.779889022262298150, 1e-12,
"eraRy",
"32", status);
7619 vvd(r[2][2], 5.381899160903798712, 1e-12,
"eraRy",
"33", status);
7639 double psi, r[3][3];
7658 vvd(r[0][0], 2.898197754208926769, 1e-12,
"eraRz",
"11", status);
7659 vvd(r[0][1], 3.500207892850427330, 1e-12,
"eraRz",
"12", status);
7660 vvd(r[0][2], 2.898197754208926769, 1e-12,
"eraRz",
"13", status);
7662 vvd(r[1][0], 2.144865911309686813, 1e-12,
"eraRz",
"21", status);
7663 vvd(r[1][1], 0.865184781897815993, 1e-12,
"eraRz",
"22", status);
7664 vvd(r[1][2], 2.144865911309686813, 1e-12,
"eraRz",
"23", status);
7666 vvd(r[2][0], 3.0, 1e-12,
"eraRz",
"31", status);
7667 vvd(r[2][1], 4.0, 1e-12,
"eraRz",
"32", status);
7668 vvd(r[2][2], 5.0, 1e-12,
"eraRz",
"33", status);
7691 s =
eraS00a(2400000.5, 52541.0);
7693 vvd(s, -0.1340684448919163584e-7, 1e-18,
"eraS00a",
"", status);
7716 s =
eraS00b(2400000.5, 52541.0);
7718 vvd(s, -0.1340695782951026584e-7, 1e-18,
"eraS00b",
"", status);
7741 x = 0.5791308486706011000e-3;
7742 y = 0.4020579816732961219e-4;
7744 s =
eraS00(2400000.5, 53736.0, x, y);
7746 vvd(s, -0.1220036263270905693e-7, 1e-18,
"eraS00",
"", status);
7769 s =
eraS06a(2400000.5, 52541.0);
7771 vvd(s, -0.1340680437291812383e-7, 1e-18,
"eraS06a",
"", status);
7794 x = 0.5791308486706011000e-3;
7795 y = 0.4020579816732961219e-4;
7797 s =
eraS06(2400000.5, 53736.0, x, y);
7799 vvd(s, -0.1220032213076463117e-7, 1e-18,
"eraS06",
"", status);
7822 eraS2c(3.0123, -0.999, c);
7824 vvd(c[0], -0.5366267667260523906, 1e-12,
"eraS2c",
"1", status);
7825 vvd(c[1], 0.0697711109765145365, 1e-12,
"eraS2c",
"2", status);
7826 vvd(c[2], -0.8409302618566214041, 1e-12,
"eraS2c",
"3", status);
7849 eraS2p(-3.21, 0.123, 0.456, p);
7851 vvd(p[0], -0.4514964673880165228, 1e-12,
"eraS2p",
"x", status);
7852 vvd(p[1], 0.0309339427734258688, 1e-12,
"eraS2p",
"y", status);
7853 vvd(p[2], 0.0559466810510877933, 1e-12,
"eraS2p",
"z", status);
7876 eraS2pv(-3.21, 0.123, 0.456, -7.8e-6, 9.01e-6, -1.23e-5, pv);
7878 vvd(pv[0][0], -0.4514964673880165228, 1e-12,
"eraS2pv",
"x", status);
7879 vvd(pv[0][1], 0.0309339427734258688, 1e-12,
"eraS2pv",
"y", status);
7880 vvd(pv[0][2], 0.0559466810510877933, 1e-12,
"eraS2pv",
"z", status);
7882 vvd(pv[1][0], 0.1292270850663260170e-4, 1e-16,
7883 "eraS2pv",
"vx", status);
7884 vvd(pv[1][1], 0.2652814182060691422e-5, 1e-16,
7885 "eraS2pv",
"vy", status);
7886 vvd(pv[1][2], 0.2568431853930292259e-5, 1e-16,
7887 "eraS2pv",
"vz", status);
7907 double s1, s2, pv[2][3], spv[2][3];
7923 vvd(spv[0][0], 0.6, 1e-12,
"eraS2xpv",
"p1", status);
7924 vvd(spv[0][1], 2.4, 1e-12,
"eraS2xpv",
"p2", status);
7925 vvd(spv[0][2], -5.0, 1e-12,
"eraS2xpv",
"p3", status);
7927 vvd(spv[1][0], 1.5, 1e-12,
"eraS2xpv",
"v1", status);
7928 vvd(spv[1][1], 6.9, 1e-12,
"eraS2xpv",
"v2", status);
7929 vvd(spv[1][2], -1.2, 1e-12,
"eraS2xpv",
"v3", status);
7949 double a[3], b[3], s;
7962 vvd(s, 2.860391919024660768, 1e-12,
"eraSepp",
"", status);
7982 double al, ap, bl, bp, s;
7993 vvd(s, 2.346722016996998842, 1e-14,
"eraSeps",
"", status);
8014 -0.6216698469981019309e-11, 1e-12,
"eraSp00",
"", status);
8034 double ra1, dec1, pmr1, pmd1, px1, rv1;
8035 double ra2, dec2, pmr2, pmd2, px2, rv2;
8040 dec1 = -1.093989828;
8041 pmr1 = -1.78323516e-5;
8042 pmd1 = 2.336024047e-6;
8046 j =
eraStarpm(ra1, dec1, pmr1, pmd1, px1, rv1,
8047 2400000.5, 50083.0, 2400000.5, 53736.0,
8048 &ra2, &dec2, &pmr2, &pmd2, &px2, &rv2);
8050 vvd(ra2, 0.01668919069414242368, 1e-13,
8051 "eraStarpm",
"ra", status);
8052 vvd(dec2, -1.093966454217127879, 1e-13,
8053 "eraStarpm",
"dec", status);
8054 vvd(pmr2, -0.1783662682155932702e-4, 1e-17,
8055 "eraStarpm",
"pmr", status);
8056 vvd(pmd2, 0.2338092915987603664e-5, 1e-17,
8057 "eraStarpm",
"pmd", status);
8058 vvd(px2, 0.7473533835323493644, 1e-13,
8059 "eraStarpm",
"px", status);
8060 vvd(rv2, -21.59905170476860786, 1e-11,
8061 "eraStarpm",
"rv", status);
8063 viv(j, 0,
"eraStarpm",
"j", status);
8083 double ra, dec, pmr, pmd, px, rv, pv[2][3];
8089 pmr = -1.78323516e-5;
8090 pmd = 2.336024047e-6;
8094 j =
eraStarpv(ra, dec, pmr, pmd, px, rv, pv);
8096 vvd(pv[0][0], 126668.5912743160601, 1e-10,
8097 "eraStarpv",
"11", status);
8098 vvd(pv[0][1], 2136.792716839935195, 1e-12,
8099 "eraStarpv",
"12", status);
8100 vvd(pv[0][2], -245251.2339876830091, 1e-10,
8101 "eraStarpv",
"13", status);
8103 vvd(pv[1][0], -0.4051854035740712739e-2, 1e-13,
8104 "eraStarpv",
"21", status);
8105 vvd(pv[1][1], -0.6253919754866173866e-2, 1e-15,
8106 "eraStarpv",
"22", status);
8107 vvd(pv[1][2], 0.1189353719774107189e-1, 1e-13,
8108 "eraStarpv",
"23", status);
8110 viv(j, 0,
"eraStarpv",
"j", status);
8130 double s, p[3], sp[3];
8141 vvd(sp[0], 0.6, 0.0,
"eraSxp",
"1", status);
8142 vvd(sp[1], 2.4, 0.0,
"eraSxp",
"2", status);
8143 vvd(sp[2], -5.0, 0.0,
"eraSxp",
"3", status);
8164 double s, pv[2][3], spv[2][3];
8179 vvd(spv[0][0], 0.6, 0.0,
"eraSxpv",
"p1", status);
8180 vvd(spv[0][1], 2.4, 0.0,
"eraSxpv",
"p2", status);
8181 vvd(spv[0][2], -5.0, 0.0,
"eraSxpv",
"p3", status);
8183 vvd(spv[1][0], 1.0, 0.0,
"eraSxpv",
"v1", status);
8184 vvd(spv[1][1], 6.4, 0.0,
"eraSxpv",
"v2", status);
8185 vvd(spv[1][2], -1.4, 0.0,
"eraSxpv",
"v3", status);
8209 j =
eraTaitt(2453750.5, 0.892482639, &t1, &t2);
8211 vvd(t1, 2453750.5, 1e-6,
"eraTaitt",
"t1", status);
8212 vvd(t2, 0.892855139, 1e-12,
"eraTaitt",
"t2", status);
8213 viv(j, 0,
"eraTaitt",
"j", status);
8237 j =
eraTaiut1(2453750.5, 0.892482639, -32.6659, &u1, &u2);
8239 vvd(u1, 2453750.5, 1e-6,
"eraTaiut1",
"u1", status);
8240 vvd(u2, 0.8921045614537037037, 1e-12,
"eraTaiut1",
"u2", status);
8241 viv(j, 0,
"eraTaiut1",
"j", status);
8265 j =
eraTaiutc(2453750.5, 0.892482639, &u1, &u2);
8267 vvd(u1, 2453750.5, 1e-6,
"eraTaiutc",
"u1", status);
8268 vvd(u2, 0.8921006945555555556, 1e-12,
"eraTaiutc",
"u2", status);
8269 viv(j, 0,
"eraTaiutc",
"j", status);
8293 j =
eraTcbtdb(2453750.5, 0.893019599, &b1, &b2);
8295 vvd(b1, 2453750.5, 1e-6,
"eraTcbtdb",
"b1", status);
8296 vvd(b2, 0.8928551362746343397, 1e-12,
"eraTcbtdb",
"b2", status);
8297 viv(j, 0,
"eraTcbtdb",
"j", status);
8321 j =
eraTcgtt(2453750.5, 0.892862531, &t1, &t2);
8323 vvd(t1, 2453750.5, 1e-6,
"eraTcgtt",
"t1", status);
8324 vvd(t2, 0.8928551387488816828, 1e-12,
"eraTcgtt",
"t2", status);
8325 viv(j, 0,
"eraTcgtt",
"j", status);
8349 j =
eraTdbtcb(2453750.5, 0.892855137, &b1, &b2);
8351 vvd( b1, 2453750.5, 1e-6,
"eraTdbtcb",
"b1", status);
8352 vvd( b2, 0.8930195997253656716, 1e-12,
"eraTdbtcb",
"b2", status);
8353 viv(j, 0,
"eraTdbtcb",
"j", status);
8377 j =
eraTdbtt(2453750.5, 0.892855137, -0.000201, &t1, &t2);
8379 vvd(t1, 2453750.5, 1e-6,
"eraTdbtt",
"t1", status);
8380 vvd(t2, 0.8928551393263888889, 1e-12,
"eraTdbtt",
"t2", status);
8381 viv(j, 0,
"eraTdbtt",
"j", status);
8405 j =
eraTf2a(
'+', 4, 58, 20.2, &a);
8407 vvd(a, 1.301739278189537429, 1e-12,
"eraTf2a",
"a", status);
8408 viv(j, 0,
"eraTf2a",
"j", status);
8432 j =
eraTf2d(
' ', 23, 55, 10.9, &d);
8434 vvd(d, 0.9966539351851851852, 1e-12,
"eraTf2d",
"d", status);
8435 viv(j, 0,
"eraTf2d",
"j", status);
8455 double r[3][3], rt[3][3];
8472 vvd(rt[0][0], 2.0, 0.0,
"eraTr",
"11", status);
8473 vvd(rt[0][1], 3.0, 0.0,
"eraTr",
"12", status);
8474 vvd(rt[0][2], 3.0, 0.0,
"eraTr",
"13", status);
8476 vvd(rt[1][0], 3.0, 0.0,
"eraTr",
"21", status);
8477 vvd(rt[1][1], 2.0, 0.0,
"eraTr",
"22", status);
8478 vvd(rt[1][2], 4.0, 0.0,
"eraTr",
"23", status);
8480 vvd(rt[2][0], 2.0, 0.0,
"eraTr",
"31", status);
8481 vvd(rt[2][1], 3.0, 0.0,
"eraTr",
"32", status);
8482 vvd(rt[2][2], 5.0, 0.0,
"eraTr",
"33", status);
8502 double r[3][3], p[3], trp[3];
8523 vvd(trp[0], 5.2, 1e-12,
"eraTrxp",
"1", status);
8524 vvd(trp[1], 4.0, 1e-12,
"eraTrxp",
"2", status);
8525 vvd(trp[2], 5.4, 1e-12,
"eraTrxp",
"3", status);
8545 double r[3][3], pv[2][3], trpv[2][3];
8570 vvd(trpv[0][0], 5.2, 1e-12,
"eraTrxpv",
"p1", status);
8571 vvd(trpv[0][1], 4.0, 1e-12,
"eraTrxpv",
"p1", status);
8572 vvd(trpv[0][2], 5.4, 1e-12,
"eraTrxpv",
"p1", status);
8574 vvd(trpv[1][0], 3.9, 1e-12,
"eraTrxpv",
"v1", status);
8575 vvd(trpv[1][1], 5.3, 1e-12,
"eraTrxpv",
"v2", status);
8576 vvd(trpv[1][2], 4.1, 1e-12,
"eraTrxpv",
"v3", status);
8600 j =
eraTttai(2453750.5, 0.892482639, &a1, &a2);
8602 vvd(a1, 2453750.5, 1e-6,
"eraTttai",
"a1", status);
8603 vvd(a2, 0.892110139, 1e-12,
"eraTttai",
"a2", status);
8604 viv(j, 0,
"eraTttai",
"j", status);
8628 j =
eraTttcg(2453750.5, 0.892482639, &g1, &g2);
8630 vvd( g1, 2453750.5, 1e-6,
"eraTttcg",
"g1", status);
8631 vvd( g2, 0.8924900312508587113, 1e-12,
"eraTttcg",
"g2", status);
8632 viv(j, 0,
"eraTttcg",
"j", status);
8656 j =
eraTttdb(2453750.5, 0.892855139, -0.000201, &b1, &b2);
8658 vvd(b1, 2453750.5, 1e-6,
"eraTttdb",
"b1", status);
8659 vvd(b2, 0.8928551366736111111, 1e-12,
"eraTttdb",
"b2", status);
8660 viv(j, 0,
"eraTttdb",
"j", status);
8684 j =
eraTtut1(2453750.5, 0.892855139, 64.8499, &u1, &u2);
8686 vvd(u1, 2453750.5, 1e-6,
"eraTtut1",
"u1", status);
8687 vvd(u2, 0.8921045614537037037, 1e-12,
"eraTtut1",
"u2", status);
8688 viv(j, 0,
"eraTtut1",
"j", status);
8712 j =
eraUt1tai(2453750.5, 0.892104561, -32.6659, &a1, &a2);
8714 vvd(a1, 2453750.5, 1e-6,
"eraUt1tai",
"a1", status);
8715 vvd(a2, 0.8924826385462962963, 1e-12,
"eraUt1tai",
"a2", status);
8716 viv(j, 0,
"eraUt1tai",
"j", status);
8740 j =
eraUt1tt(2453750.5, 0.892104561, 64.8499, &t1, &t2);
8742 vvd(t1, 2453750.5, 1e-6,
"eraUt1tt",
"t1", status);
8743 vvd(t2, 0.8928551385462962963, 1e-12,
"eraUt1tt",
"t2", status);
8744 viv(j, 0,
"eraUt1tt",
"j", status);
8768 j =
eraUt1utc(2453750.5, 0.892104561, 0.3341, &u1, &u2);
8770 vvd(u1, 2453750.5, 1e-6,
"eraUt1utc",
"u1", status);
8771 vvd(u2, 0.8921006941018518519, 1e-12,
"eraUt1utc",
"u2", status);
8772 viv(j, 0,
"eraUt1utc",
"j", status);
8796 j =
eraUtctai(2453750.5, 0.892100694, &u1, &u2);
8798 vvd(u1, 2453750.5, 1e-6,
"eraUtctai",
"u1", status);
8799 vvd(u2, 0.8924826384444444444, 1e-12,
"eraUtctai",
"u2", status);
8800 viv(j, 0,
"eraUtctai",
"j", status);
8824 j =
eraUtcut1(2453750.5, 0.892100694, 0.3341, &u1, &u2);
8826 vvd(u1, 2453750.5, 1e-6,
"eraUtcut1",
"u1", status);
8827 vvd(u2, 0.8921045608981481481, 1e-12,
"eraUtcut1",
"u2", status);
8828 viv(j, 0,
"eraUtcut1",
"j", status);
8851 eraXy06(2400000.5, 53736.0, &x, &y);
8853 vvd(x, 0.5791308486706010975e-3, 1e-15,
"eraXy06",
"x", status);
8854 vvd(y, 0.4020579816732958141e-4, 1e-16,
"eraXy06",
"y", status);
8877 eraXys00a(2400000.5, 53736.0, &x, &y, &s);
8879 vvd(x, 0.5791308472168152904e-3, 1e-14,
"eraXys00a",
"x", status);
8880 vvd(y, 0.4020595661591500259e-4, 1e-15,
"eraXys00a",
"y", status);
8881 vvd(s, -0.1220040848471549623e-7, 1e-18,
"eraXys00a",
"s", status);
8904 eraXys00b(2400000.5, 53736.0, &x, &y, &s);
8906 vvd(x, 0.5791301929950208873e-3, 1e-14,
"eraXys00b",
"x", status);
8907 vvd(y, 0.4020553681373720832e-4, 1e-15,
"eraXys00b",
"y", status);
8908 vvd(s, -0.1220027377285083189e-7, 1e-18,
"eraXys00b",
"s", status);
8931 eraXys06a(2400000.5, 53736.0, &x, &y, &s);
8933 vvd(x, 0.5791308482835292617e-3, 1e-14,
"eraXys06a",
"x", status);
8934 vvd(y, 0.4020580099454020310e-4, 1e-15,
"eraXys06a",
"y", status);
8935 vvd(s, -0.1220032294164579896e-7, 1e-18,
"eraXys06a",
"s", status);
8964 vvd(p[0], 0.0, 0.0,
"eraZp",
"1", status);
8965 vvd(p[1], 0.0, 0.0,
"eraZp",
"2", status);
8966 vvd(p[2], 0.0, 0.0,
"eraZp",
"3", status);
8999 vvd(pv[0][0], 0.0, 0.0,
"eraZpv",
"p1", status);
9000 vvd(pv[0][1], 0.0, 0.0,
"eraZpv",
"p2", status);
9001 vvd(pv[0][2], 0.0, 0.0,
"eraZpv",
"p3", status);
9003 vvd(pv[1][0], 0.0, 0.0,
"eraZpv",
"v1", status);
9004 vvd(pv[1][1], 0.0, 0.0,
"eraZpv",
"v2", status);
9005 vvd(pv[1][2], 0.0, 0.0,
"eraZpv",
"v3", status);
9042 vvd(r[0][0], 0.0, 0.0,
"eraZr",
"00", status);
9043 vvd(r[1][0], 0.0, 0.0,
"eraZr",
"01", status);
9044 vvd(r[2][0], 0.0, 0.0,
"eraZr",
"02", status);
9046 vvd(r[0][1], 0.0, 0.0,
"eraZr",
"10", status);
9047 vvd(r[1][1], 0.0, 0.0,
"eraZr",
"11", status);
9048 vvd(r[2][1], 0.0, 0.0,
"eraZr",
"12", status);
9050 vvd(r[0][2], 0.0, 0.0,
"eraZr",
"20", status);
9051 vvd(r[1][2], 0.0, 0.0,
"eraZr",
"21", status);
9052 vvd(r[2][2], 0.0, 0.0,
"eraZr",
"22", status);
9302 printf(
"t_erfa_c validation failed!\n");
9304 printf(
"t_erfa_c validation successful\n");
double eraGmst00(double uta, double utb, double tta, double ttb)
static void t_obl80(int *status)
void eraC2ibpn(double date1, double date2, double rbpn[3][3], double rc2i[3][3])
static void t_bp06(int *status)
void eraAper13(double ut11, double ut12, eraASTROM *astrom)
void eraPmpx(double rc, double dc, double pr, double pd, double px, double rv, double pmt, double pob[3], double pco[3])
double eraS00(double date1, double date2, double x, double y)
void eraPnm00a(double date1, double date2, double rbpn[3][3])
double eraPdp(double a[3], double b[3])
static void t_eors(int *status)
static void t_apci(int *status)
void eraIcrs2g(double dr, double dd, double *dl, double *db)
void eraApcs(double date1, double date2, double pv[2][3], double ebpv[2][3], double ehp[3], eraASTROM *astrom)
static void t_apco13(int *status)
static void t_rz(int *status)
int eraDtf2d(const char *scale, int iy, int im, int id, int ihr, int imn, double sec, double *d1, double *d2)
static void t_c2s(int *status)
static void t_ppsp(int *status)
void eraC2i06a(double date1, double date2, double rc2i[3][3])
void eraPvxpv(double a[2][3], double b[2][3], double axb[2][3])
double eraFae03(double t)
static void t_atci13(int *status)
static void t_ut1tai(int *status)
void eraAper(double theta, eraASTROM *astrom)
static void t_pvstar(int *status)
double eraGst06a(double uta, double utb, double tta, double ttb)
void eraAb(double pnat[3], double v[3], double s, double bm1, double ppr[3])
static void t_pv2p(int *status)
int eraTttai(double tt1, double tt2, double *tai1, double *tai2)
double eraFane03(double t)
int eraD2dtf(const char *scale, int ndp, double d1, double d2, int *iy, int *im, int *id, int ihmsf[4])
static void t_starpv(int *status)
void eraPvm(double pv[2][3], double *r, double *s)
double eraFapa03(double t)
static void t_ldsun(int *status)
static void t_cp(int *status)
static void t_atoiq(int *status)
static void t_s2c(int *status)
static void t_tr(int *status)
double eraPap(double a[3], double b[3])
int eraTaiutc(double tai1, double tai2, double *utc1, double *utc2)
void eraPvmpv(double a[2][3], double b[2][3], double amb[2][3])
void eraSxpv(double s, double pv[2][3], double spv[2][3])
double eraEe00b(double date1, double date2)
void eraS2p(double theta, double phi, double r, double p[3])
static void t_pn00b(int *status)
int eraGd2gc(int n, double elong, double phi, double height, double xyz[3])
void eraPvtob(double elong, double phi, double height, double xp, double yp, double sp, double theta, double pv[2][3])
void eraPv2s(double pv[2][3], double *theta, double *phi, double *r, double *td, double *pd, double *rd)
static void t_p06e(int *status)
void eraZpv(double pv[2][3])
static void t_s06a(int *status)
static void t_pmsafe(int *status)
double eraS06a(double date1, double date2)
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
void eraPmat06(double date1, double date2, double rbp[3][3])
static void t_p2s(int *status)
int eraJdcalf(int ndp, double dj1, double dj2, int iymdf[4])
static void t_ab(int *status)
double eraGst00a(double uta, double utb, double tta, double ttb)
void eraNumat(double epsa, double dpsi, double deps, double rmatn[3][3])
int eraTdbtt(double tdb1, double tdb2, double dtr, double *tt1, double *tt2)
double eraSepp(double a[3], double b[3])
void eraLd(double bm, double p[3], double q[3], double e[3], double em, double dlim, double p1[3])
void eraAtic13(double ri, double di, double date1, double date2, double *rc, double *dc, double *eo)
void eraPmat76(double date1, double date2, double rmatp[3][3])
static void t_xys00b(int *status)
void eraPnm00b(double date1, double date2, double rbpn[3][3])
static void t_c2i00a(int *status)
double eraFal03(double t)
static void t_s00a(int *status)
void eraFk52h(double r5, double d5, double dr5, double dd5, double px5, double rv5, double *rh, double *dh, double *drh, double *ddh, double *pxh, double *rvh)
void eraPfw06(double date1, double date2, double *gamb, double *phib, double *psib, double *epsa)
void eraNut80(double date1, double date2, double *dpsi, double *deps)
static void t_fk5hz(int *status)
void eraTrxpv(double r[3][3], double pv[2][3], double trpv[2][3])
static void t_xys00a(int *status)
static void t_seps(int *status)
static void t_aper(int *status)
void eraPnm06a(double date1, double date2, double rnpb[3][3])
static void t_atciqz(int *status)
int eraTaiut1(double tai1, double tai2, double dta, double *ut11, double *ut12)
static void t_faom03(int *status)
static void t_dtdb(int *status)
static void t_pnm00b(int *status)
void eraPv2p(double pv[2][3], double p[3])
static void t_epj2jd(int *status)
int eraGc2gde(double a, double f, double xyz[3], double *elong, double *phi, double *height)
static void t_pn06(int *status)
static void t_pmat00(int *status)
static void t_starpm(int *status)
void eraEpj2jd(double epj, double *djm0, double *djm)
static void t_gst00a(int *status)
void eraRx(double phi, double r[3][3])
static void t_c2txy(int *status)
static void t_rxr(int *status)
static void t_a2af(int *status)
void eraFw2m(double gamb, double phib, double psi, double eps, double r[3][3])
static void t_taiutc(int *status)
static void t_fad03(int *status)
static void t_refco(int *status)
void eraC2i00b(double date1, double date2, double rc2i[3][3])
static void t_tdbtcb(int *status)
void eraRm2v(double r[3][3], double w[3])
static void t_pnm00a(int *status)
static void t_nutm80(int *status)
static void t_pvmpv(int *status)
void eraXys00b(double date1, double date2, double *x, double *y, double *s)
static void t_utcut1(int *status)
void eraS2c(double theta, double phi, double c[3])
void eraAtciqn(double rc, double dc, double pr, double pd, double px, double rv, eraASTROM *astrom, int n, eraLDBODY b[], double *ri, double *di)
static void t_s06(int *status)
static void t_zpv(int *status)
double eraGmst82(double dj1, double dj2)
void eraH2fk5(double rh, double dh, double drh, double ddh, double pxh, double rvh, double *r5, double *d5, double *dr5, double *dd5, double *px5, double *rv5)
static void t_pn06a(int *status)
void eraFw2xy(double gamb, double phib, double psi, double eps, double *x, double *y)
static void t_atco13(int *status)
static void t_pn00(int *status)
int eraUtctai(double utc1, double utc2, double *tai1, double *tai2)
void eraAtoiq(const char *type, double ob1, double ob2, eraASTROM *astrom, double *ri, double *di)
static void t_fapa03(int *status)
static void t_c2tcio(int *status)
static void t_aper13(int *status)
static void t_tf2d(int *status)
static void t_dat(int *status)
double eraSp00(double date1, double date2)
double eraEqeq94(double date1, double date2)
static void t_pn(int *status)
void eraC2t00b(double tta, double ttb, double uta, double utb, double xp, double yp, double rc2t[3][3])
static void t_gd2gc(int *status)
void eraCr(double r[3][3], double c[3][3])
static void t_jd2cal(int *status)
int eraUt1tai(double ut11, double ut12, double dta, double *tai1, double *tai2)
void eraZr(double r[3][3])
void eraPvup(double dt, double pv[2][3], double p[3])
static void t_anpm(int *status)
static void t_s00(int *status)
double eraPm(double p[3])
static void t_c2teqx(int *status)
static void t_s00b(int *status)
void eraAtci13(double rc, double dc, double pr, double pd, double px, double rv, double date1, double date2, double *ri, double *di, double *eo)
int eraApio13(double utc1, double utc2, double dut1, double elong, double phi, double hm, double xp, double yp, double phpa, double tc, double rh, double wl, eraASTROM *astrom)
static void t_taitt(int *status)
double eraFaom03(double t)
static void t_gmst82(int *status)
static void t_epb2jd(int *status)
void eraS2xpv(double s1, double s2, double pv[2][3], double spv[2][3])
void eraApcg13(double date1, double date2, eraASTROM *astrom)
static void t_sepp(int *status)
void eraFk5hip(double r5h[3][3], double s5h[3])
static void t_s2xpv(int *status)
static void t_apci13(int *status)
void eraBpn2xy(double rbpn[3][3], double *x, double *y)
static void t_atoc13(int *status)
static void t_pnm80(int *status)
double eraFad03(double t)
static void t_gd2gce(int *status)
double eraGst06(double uta, double utb, double tta, double ttb, double rnpb[3][3])
void eraC2txy(double tta, double ttb, double uta, double utb, double x, double y, double xp, double yp, double rc2t[3][3])
void eraIr(double r[3][3])
void eraApcg(double date1, double date2, double ebpv[2][3], double ehp[3], eraASTROM *astrom)
static void t_af2a(int *status)
static void t_gmst06(int *status)
static void t_fk52h(int *status)
double eraPas(double al, double ap, double bl, double bp)
void eraRxr(double a[3][3], double b[3][3], double atb[3][3])
void eraRy(double theta, double r[3][3])
static void t_epb(int *status)
static void t_taiut1(int *status)
void eraC2t00a(double tta, double ttb, double uta, double utb, double xp, double yp, double rc2t[3][3])
int eraPmsafe(double ra1, double dec1, double pmr1, double pmd1, double px1, double rv1, double ep1a, double ep1b, double ep2a, double ep2b, double *ra2, double *dec2, double *pmr2, double *pmd2, double *px2, double *rv2)
static void t_ut1tt(int *status)
void eraAtciq(double rc, double dc, double pr, double pd, double px, double rv, eraASTROM *astrom, double *ri, double *di)
void eraAtciqz(double rc, double dc, eraASTROM *astrom, double *ri, double *di)
int eraPlan94(double date1, double date2, int np, double pv[2][3])
void eraEpb2jd(double epb, double *djm0, double *djm)
double eraEe00(double date1, double date2, double epsa, double dpsi)
static void t_ld(int *status)
int eraTf2a(char s, int ihour, int imin, double sec, double *rad)
void eraPrec76(double date01, double date02, double date11, double date12, double *zeta, double *z, double *theta)
static void t_fal03(int *status)
void eraNut00b(double date1, double date2, double *dpsi, double *deps)
static void t_atoi13(int *status)
static void t_pmp(int *status)
int eraUt1utc(double ut11, double ut12, double dut1, double *utc1, double *utc2)
void eraBp06(double date1, double date2, double rb[3][3], double rp[3][3], double rbp[3][3])
void eraXys06a(double date1, double date2, double *x, double *y, double *s)
double eraEra00(double dj1, double dj2)
double eraEe06a(double date1, double date2)
void eraC2ixy(double date1, double date2, double x, double y, double rc2i[3][3])
static void t_atio13(int *status)
static void t_aticqn(int *status)
static void t_fw2m(int *status)
static void t_pmpx(int *status)
static void t_pvm(int *status)
void eraNum06a(double date1, double date2, double rmatn[3][3])
int eraApco13(double utc1, double utc2, double dut1, double elong, double phi, double hm, double xp, double yp, double phpa, double tc, double rh, double wl, eraASTROM *astrom, double *eo)
void eraPxp(double a[3], double b[3], double axb[3])
static void t_ldn(int *status)
void eraApci13(double date1, double date2, eraASTROM *astrom, double *eo)
double eraFame03(double t)
void eraC2s(double p[3], double *theta, double *phi)
static void t_atic13(int *status)
void eraPom00(double xp, double yp, double sp, double rpom[3][3])
static void t_apcs(int *status)
double eraGst00b(double uta, double utb)
void eraRz(double psi, double r[3][3])
static void t_zr(int *status)
void eraRxp(double r[3][3], double p[3], double rp[3])
void eraTr(double r[3][3], double rt[3][3])
void eraAticqn(double ri, double di, eraASTROM *astrom, int n, eraLDBODY b[], double *rc, double *dc)
static void t_zp(int *status)
void eraPb06(double date1, double date2, double *bzeta, double *bz, double *btheta)
static void t_g2icrs(int *status)
void eraTrxp(double r[3][3], double p[3], double trp[3])
void eraHfk5z(double rh, double dh, double date1, double date2, double *r5, double *d5, double *dr5, double *dd5)
static void t_pom00(int *status)
void eraNut06a(double date1, double date2, double *dpsi, double *deps)
double eraFaf03(double t)
static void t_ry(int *status)
int eraAtoc13(const char *type, double ob1, double ob2, double utc1, double utc2, double dut1, double elong, double phi, double hm, double xp, double yp, double phpa, double tc, double rh, double wl, double *rc, double *dc)
void eraP2s(double p[3], double *theta, double *phi, double *r)
static void t_pvtob(int *status)
double eraFalp03(double t)
static void t_tcgtt(int *status)
void eraNum00a(double date1, double date2, double rmatn[3][3])
void eraPpp(double a[3], double b[3], double apb[3])
static void t_anp(int *status)
void eraA2af(int ndp, double angle, char *sign, int idmsf[4])
static void t_pr00(int *status)
double eraObl06(double date1, double date2)
static void t_tttdb(int *status)
void eraG2icrs(double dl, double db, double *dr, double *dd)
static void t_fk5hip(int *status)
int eraJd2cal(double dj1, double dj2, int *iy, int *im, int *id, double *fd)
int main(int argc, char *argv[])
void eraA2tf(int ndp, double angle, char *sign, int ihmsf[4])
int eraDat(int iy, int im, int id, double fd, double *deltat)
static void t_a2tf(int *status)
static void t_bi00(int *status)
static void t_apcg(int *status)
void eraSxp(double s, double p[3], double sp[3])
static void t_tttcg(int *status)
static void t_c2ibpn(int *status)
int eraPvstar(double pv[2][3], double *ra, double *dec, double *pmr, double *pmd, double *px, double *rv)
static void t_d2tf(int *status)
void eraC2ixys(double x, double y, double s, double rc2i[3][3])
static void t_pas(int *status)
int eraUt1tt(double ut11, double ut12, double dt, double *tt1, double *tt2)
static void t_pn00a(int *status)
int eraTcgtt(double tcg1, double tcg2, double *tt1, double *tt2)
void eraPmat00(double date1, double date2, double rbp[3][3])
static void t_s2p(int *status)
static void t_pvppv(int *status)
static void t_gst06a(int *status)
static void t_atciqn(int *status)
void eraPn00a(double date1, double date2, double *dpsi, double *deps, double *epsa, double rb[3][3], double rp[3][3], double rbp[3][3], double rn[3][3], double rbpn[3][3])
void eraPmp(double a[3], double b[3], double amb[3])
void eraApio(double sp, double theta, double elong, double phi, double hm, double xp, double yp, double refa, double refb, eraASTROM *astrom)
static void t_s2pv(int *status)
double eraGst94(double uta, double utb)
int eraAtoi13(const char *type, double ob1, double ob2, double utc1, double utc2, double dut1, double elong, double phi, double hm, double xp, double yp, double phpa, double tc, double rh, double wl, double *ri, double *di)
static void t_pap(int *status)
static void t_rx(int *status)
void eraApco(double date1, double date2, double ebpv[2][3], double ehp[3], double x, double y, double s, double theta, double elong, double phi, double hm, double xp, double yp, double sp, double refa, double refb, eraASTROM *astrom)
static void t_ee00(int *status)
void eraRefco(double phpa, double tc, double rh, double wl, double *refa, double *refb)
static void t_epj(int *status)
void eraPn(double p[3], double *r, double u[3])
void eraBi00(double *dpsibi, double *depsbi, double *dra)
void eraCpv(double pv[2][3], double c[2][3])
static void t_c2i06a(int *status)
static void t_ut1utc(int *status)
static void t_bpn2xy(int *status)
static void t_rm2v(int *status)
static void t_ee06a(int *status)
static void t_faju03(int *status)
void eraC2tpe(double tta, double ttb, double uta, double utb, double dpsi, double deps, double xp, double yp, double rc2t[3][3])
static void t_num00a(int *status)
int eraAtco13(double rc, double dc, double pr, double pd, double px, double rv, double utc1, double utc2, double dut1, double elong, double phi, double hm, double xp, double yp, double phpa, double tc, double rh, double wl, double *aob, double *zob, double *hob, double *dob, double *rob, double *eo)
static void t_fave03(int *status)
double eraEe00a(double date1, double date2)
static void t_fama03(int *status)
static void t_cal2jd(int *status)
static void t_apcg13(int *status)
static void t_fw2xy(int *status)
double eraS00a(double date1, double date2)
static void t_apcs13(int *status)
static void t_fane03(int *status)
static void t_eqeq94(int *status)
void eraFk5hz(double r5, double d5, double date1, double date2, double *rh, double *dh)
static void t_jdcalf(int *status)
void eraC2teqx(double rbpn[3][3], double gst, double rpom[3][3], double rc2t[3][3])
static void t_sp00(int *status)
static void t_atciq(int *status)
int eraAtio13(double ri, double di, double utc1, double utc2, double dut1, double elong, double phi, double hm, double xp, double yp, double phpa, double tc, double rh, double wl, double *aob, double *zob, double *hob, double *dob, double *rob)
static void t_dtf2d(int *status)
int eraTaitt(double tai1, double tai2, double *tt1, double *tt2)
static void t_falp03(int *status)
double eraS06(double date1, double date2, double x, double y)
int eraStarpv(double ra, double dec, double pmr, double pmd, double px, double rv, double pv[2][3])
static void t_pvu(int *status)
static void t_num00b(int *status)
static void t_rv2m(int *status)
static void t_gst00b(int *status)
double eraS00b(double date1, double date2)
static void t_c2ixys(int *status)
void eraNut00a(double date1, double date2, double *dpsi, double *deps)
static void t_faur03(int *status)
void eraAticq(double ri, double di, eraASTROM *astrom, double *rc, double *dc)
static void t_eo06a(int *status)
void eraAtioq(double ri, double di, eraASTROM *astrom, double *aob, double *zob, double *hob, double *dob, double *rob)
void eraPnm80(double date1, double date2, double rmatpn[3][3])
double eraSeps(double al, double ap, double bl, double bp)
static void t_pxp(int *status)
static void t_nut00b(int *status)
int eraTttdb(double tt1, double tt2, double dtr, double *tdb1, double *tdb2)
static void t_p2pv(int *status)
double eraDtdb(double date1, double date2, double ut, double elong, double u, double v)
void eraNutm80(double date1, double date2, double rmatn[3][3])
void eraRv2m(double w[3], double r[3][3])
int eraUtcut1(double utc1, double utc2, double dut1, double *ut11, double *ut12)
static void t_gst06(int *status)
static void t_hfk5z(int *status)
static void t_apio13(int *status)
void eraS2pv(double theta, double phi, double r, double td, double pd, double rd, double pv[2][3])
static void t_pv2s(int *status)
double eraObl80(double date1, double date2)
static void t_pb06(int *status)
static void t_utctai(int *status)
double eraEpb(double dj1, double dj2)
void eraPn00(double date1, double date2, double dpsi, double deps, double *epsa, double rb[3][3], double rp[3][3], double rbp[3][3], double rn[3][3], double rbpn[3][3])
void eraXys00a(double date1, double date2, double *x, double *y, double *s)
double eraEo06a(double date1, double date2)
static void t_icrs2g(int *status)
int eraStarpm(double ra1, double dec1, double pmr1, double pmd1, double px1, double rv1, double ep1a, double ep1b, double ep2a, double ep2b, double *ra2, double *dec2, double *pmr2, double *pmd2, double *px2, double *rv2)
void eraP2pv(double p[3], double pv[2][3])
static void t_tcbtdb(int *status)
static void t_cpv(int *status)
static void t_gmst00(int *status)
void eraPn00b(double date1, double date2, double *dpsi, double *deps, double *epsa, double rb[3][3], double rp[3][3], double rbp[3][3], double rn[3][3], double rbpn[3][3])
static void t_xys06a(int *status)
double eraFaju03(double t)
static void t_apco(int *status)
static void t_c2t00a(int *status)
static void t_cr(int *status)
int eraTcbtdb(double tcb1, double tcb2, double *tdb1, double *tdb2)
static void t_nut00a(int *status)
static void t_numat(int *status)
int eraTttcg(double tt1, double tt2, double *tcg1, double *tcg2)
static void t_d2dtf(int *status)
static void t_apio(int *status)
void eraBp00(double date1, double date2, double rb[3][3], double rp[3][3], double rbp[3][3])
double eraEect00(double date1, double date2)
static void t_fae03(int *status)
static void t_rxp(int *status)
static void t_pvup(int *status)
void eraPn06(double date1, double date2, double dpsi, double deps, double *epsa, double rb[3][3], double rp[3][3], double rbp[3][3], double rn[3][3], double rbpn[3][3])
static void t_c2tpe(int *status)
int eraGc2gd(int n, double xyz[3], double *elong, double *phi, double *height)
static void t_pvdpv(int *status)
static void t_faf03(int *status)
static void t_c2t06a(int *status)
static void t_pdp(int *status)
static void t_pmat76(int *status)
static void t_c2ixy(int *status)
void eraD2tf(int ndp, double days, char *sign, int ihmsf[4])
void eraLdsun(double p[3], double e[3], double em, double p1[3])
static void t_ppp(int *status)
static void t_eect00(int *status)
double eraFasa03(double t)
static void t_pnm06a(int *status)
static void t_epv00(int *status)
static void t_nut06a(int *status)
int eraEpv00(double date1, double date2, double pvh[2][3], double pvb[2][3])
static void t_h2fk5(int *status)
void eraXy06(double date1, double date2, double *x, double *y)
static void t_aticq(int *status)
static void t_c2t00b(int *status)
void eraNum00b(double date1, double date2, double rmatn[3][3])
static void t_pvxpv(int *status)
static void t_ir(int *status)
static void t_fame03(int *status)
static void t_tf2a(int *status)
static void t_eform(int *status)
double eraGmst06(double uta, double utb, double tta, double ttb)
void eraC2t06a(double tta, double ttb, double uta, double utb, double xp, double yp, double rc2t[3][3])
void eraApci(double date1, double date2, double ebpv[2][3], double ehp[3], double x, double y, double s, eraASTROM *astrom)
static void t_gc2gd(int *status)
static void t_pm(int *status)
void eraC2i00a(double date1, double date2, double rc2i[3][3])
static void t_rxpv(int *status)
int eraCal2jd(int iy, int im, int id, double *djm0, double *djm)
static void t_atioq(int *status)
int eraTtut1(double tt1, double tt2, double dt, double *ut11, double *ut12)
static void viv(int ival, int ivalok, const char *func, const char *test, int *status)
void eraPpsp(double a[3], double s, double b[3], double apsb[3])
static void t_xy06(int *status)
static void t_sxpv(int *status)
static void t_plan94(int *status)
void eraRxpv(double r[3][3], double pv[2][3], double rpv[2][3])
static void t_num06a(int *status)
static void t_ttut1(int *status)
static void t_c2i00b(int *status)
static void t_fasa03(int *status)
static void t_nut80(int *status)
static void t_trxpv(int *status)
static void t_tttai(int *status)
void eraPr00(double date1, double date2, double *dpsipr, double *depspr)
double eraFave03(double t)
void eraApcs13(double date1, double date2, double pv[2][3], eraASTROM *astrom)
int eraTdbtcb(double tdb1, double tdb2, double *tcb1, double *tcb2)
double eraFama03(double t)
void eraPvdpv(double a[2][3], double b[2][3], double adb[2])
static void t_gst94(int *status)
static void t_ee00b(int *status)
static void t_pmat06(int *status)
static void t_trxp(int *status)
double eraEpj(double dj1, double dj2)
static void t_tdbtt(int *status)
void eraLdn(int n, eraLDBODY b[], double ob[3], double sc[3], double sn[3])
void eraC2tcio(double rc2i[3][3], double era, double rpom[3][3], double rc2t[3][3])
static void t_prec76(int *status)
void eraPn06a(double date1, double date2, double *dpsi, double *deps, double *epsa, double rb[3][3], double rp[3][3], double rbp[3][3], double rn[3][3], double rbpn[3][3])
static void t_sxp(int *status)
void eraPvppv(double a[2][3], double b[2][3], double apb[2][3])
double eraEors(double rnpb[3][3], double s)
static void t_bp00(int *status)
int eraTf2d(char s, int ihour, int imin, double sec, double *days)
void eraPvu(double dt, double pv[2][3], double upv[2][3])
int eraAf2a(char s, int ideg, int iamin, double asec, double *rad)
static void t_obl06(int *status)
static void t_gc2gde(int *status)
static void t_ee00a(int *status)
double eraFaur03(double t)
static void t_pfw06(int *status)
void eraCp(double p[3], double c[3])
int eraGd2gce(double a, double f, double elong, double phi, double height, double xyz[3])
void eraP06e(double date1, double date2, double *eps0, double *psia, double *oma, double *bpa, double *bqa, double *pia, double *bpia, double *epsa, double *chia, double *za, double *zetaa, double *thetaa, double *pa, double *gam, double *phi, double *psi)
static void t_era00(int *status)