rfa 0.5.9

A port ERFA to Rust.
Documentation
//! This module contains copy extend and extract matrix and vectors.

///  Copy an r-matrix.
///
///  Given:
///   * r r-matrix to be copied
///
///  Returned:
///   * c copy
///
///  This revision:  2021 May 11
pub fn cr(r: &[[f64; 3]; 3], c: &mut [[f64; 3]; 3])
{
    c.clone_from(r);

}

///  Copy a p-vector.
///
///  Given:
///   * p p-vector to be copied
///
///  Returned:
///   * c copy
///
///  This revision:  2021 May 11
pub fn cp(p: &[f64; 3], c: &mut [f64; 3])
{
    c.clone_from(p);
}

///  Copy a position/velocity vector.
///
///  Given:
///   * pv position/velocity vector to be copied
///
///  Returned:
///   * c copy
///
///  This revision:  2021 May 11
pub fn cpv(pv: &[[f64; 3]; 2], c: &mut [[f64; 3]; 2])
{
    c.clone_from(pv);
}