pub fn uniaxial_reflectance(
q: &[f64],
layers: &[Layer],
tensor: &[Matrix3<Complex<f64>>],
energy_ev: f64,
parallel: bool,
) -> Result<Vec<[[f64; 2]; 2]>>Expand description
Polarized reflectance only, for callers that discard transmission.
Same inputs, validation, and (0, 0) = R_pp, (1, 1) = R_ss packing as
uniaxial_reflectivity, evaluated with the decoupled uniaxial-z
recursion (crate::kernel::solve_point_recursive). In this scope the
recursion equals the 4x4 chain in exact arithmetic and is more accurate
in floating point (about 1e-14 relative against a 50-digit reference,
versus 1e-11 for the transfer-matrix product), stable for thick
absorbing films, and several times faster. Cross-polarized entries are
exactly zero.
ยงErrors
Shape and energy errors as for uniaxial_reflectivity; the
recursion has no singular dynamic matrix.