mode_cotangents

Function mode_cotangents 

Source
fn mode_cotangents(
    cotangent: &DMatrix<Complex>,
    modes: usize,
    forms: impl Fn(usize) -> Result<[Jet<6>; 3]> + Sync,
) -> Result<Vec<[f64; 6]>>
Expand description

Pair the six local real derivatives of every mode’s forms with its column of the (3, modes) cotangent, in parallel from 1024 modes.