pub fn tensor_to_slab_row(
thickness: f64,
roughness: f64,
tensor: &[[Complex<f64>; 3]; 3],
) -> [f64; 4]Expand description
Pack [thickness, delta, beta, roughness] from a diagonal laboratory tensor.
The tensor already holds delta + i*beta directly (the crate-wide
convention: berreman_dielectric builds eps = conj(I - 2*tensor) from
it, and uniaxial_lab_tensor/molecular_index_at_ooc produce it straight
from density-scaled OOC delta/beta values). The mean diagonal index is
therefore the packed (delta, beta) as-is — no 1 - n_avg correction.