Line | Count | Source |
1 | use super::{rxp, tr}; | |
2 | ||
3 | /// Multiply a p-vector by the transpose of an r-matrix. | |
4 | #[inline] | |
5 | 0 | pub fn trxp(r: &[[f64; 3]; 3], p: &[f64; 3], trp: &mut [f64; 3]) { |
6 | 0 | let tr_ = &mut [[0.0; 3]; 3]; |
7 | 0 | tr(r, tr_); |
8 | 0 | rxp(tr_, p, trp); |
9 | 0 | } |