rfa 0.5.9

A port ERFA to Rust.
Documentation
///  Extract from the bias-precession-nutation matrix the X,Y coordinates
///  of the Celestial Intermediate Pole.
///
///  Given:
///   * rbpn celestial-to-true matrix (Note 1)
///
///  Returned:
///   * x,y Celestial Intermediate Pole (Note 2)
///
/// # Notes:
///
///  1) The matrix rbpn transforms vectors from GCRS to true equator (and
///     CIO or equinox) of date, and therefore the Celestial Intermediate
///     Pole unit vector is the bottom row of the matrix.
///
///  2) The arguments x,y are components of the Celestial Intermediate
///     Pole unit vector in the Geocentric Celestial Reference System.
///
/// # Reference:
///
///     "Expressions for the Celestial Intermediate Pole and Celestial
///     Ephemeris Origin consistent with the IAU 2000A precession-
///     nutation model", Astron.Astrophys. 400, 1145-1154
///     (2003)
///
///     n.b. The celestial ephemeris origin (CEO) was renamed "celestial
///          intermediate origin" (CIO) by IAU 2006 Resolution 2.
///
///  This revision:  2021 May 11

pub fn bpn2xy(rbpn: &[[f64; 3]; 3], x: &mut f64, y:&mut f64)
{
    /* Extract the X,Y coordinates. */
       *x = rbpn[2][0];
       *y = rbpn[2][1];
    
    /* Finished. */
    
}