source: branches/FACT++_lidctrl_usb/erfa/src/rxpv.c@ 18752

Last change on this file since 18752 was 18711, checked in by tbretz, 8 years ago
Updated to ERFA 1.3.0 (no relevant code change except the leap second at the beginning of 2017)
File size: 3.6 KB
Line 
1#include "erfa.h"
2
3void eraRxpv(double r[3][3], double pv[2][3], double rpv[2][3])
4/*
5** - - - - - - - -
6** e r a R x p v
7** - - - - - - - -
8**
9** Multiply a pv-vector by an r-matrix.
10**
11** Given:
12** r double[3][3] r-matrix
13** pv double[2][3] pv-vector
14**
15** Returned:
16** rpv double[2][3] r * pv
17**
18** Note:
19** It is permissible for pv and rpv to be the same array.
20**
21** Called:
22** eraRxp product of r-matrix and p-vector
23**
24** Copyright (C) 2013-2016, NumFOCUS Foundation.
25** Derived, with permission, from the SOFA library. See notes at end of file.
26*/
27{
28 eraRxp(r, pv[0], rpv[0]);
29 eraRxp(r, pv[1], rpv[1]);
30
31 return;
32
33}
34/*----------------------------------------------------------------------
35**
36**
37** Copyright (C) 2013-2016, NumFOCUS Foundation.
38** All rights reserved.
39**
40** This library is derived, with permission, from the International
41** Astronomical Union's "Standards of Fundamental Astronomy" library,
42** available from http://www.iausofa.org.
43**
44** The ERFA version is intended to retain identical functionality to
45** the SOFA library, but made distinct through different function and
46** file names, as set out in the SOFA license conditions. The SOFA
47** original has a role as a reference standard for the IAU and IERS,
48** and consequently redistribution is permitted only in its unaltered
49** state. The ERFA version is not subject to this restriction and
50** therefore can be included in distributions which do not support the
51** concept of "read only" software.
52**
53** Although the intent is to replicate the SOFA API (other than
54** replacement of prefix names) and results (with the exception of
55** bugs; any that are discovered will be fixed), SOFA is not
56** responsible for any errors found in this version of the library.
57**
58** If you wish to acknowledge the SOFA heritage, please acknowledge
59** that you are using a library derived from SOFA, rather than SOFA
60** itself.
61**
62**
63** TERMS AND CONDITIONS
64**
65** Redistribution and use in source and binary forms, with or without
66** modification, are permitted provided that the following conditions
67** are met:
68**
69** 1 Redistributions of source code must retain the above copyright
70** notice, this list of conditions and the following disclaimer.
71**
72** 2 Redistributions in binary form must reproduce the above copyright
73** notice, this list of conditions and the following disclaimer in
74** the documentation and/or other materials provided with the
75** distribution.
76**
77** 3 Neither the name of the Standards Of Fundamental Astronomy Board,
78** the International Astronomical Union nor the names of its
79** contributors may be used to endorse or promote products derived
80** from this software without specific prior written permission.
81**
82** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
83** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
84** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
85** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
86** COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
87** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
88** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
89** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
90** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
91** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
92** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
93** POSSIBILITY OF SUCH DAMAGE.
94**
95*/
Note: See TracBrowser for help on using the repository browser.