Expand description
Fixed-size 4x4 complex kernels for the uniaxial transfer chain hot path.
Generic over Real so the same arithmetic can be evaluated in f32
for precision studies and ported one-to-one to GPU backends.
Functions§
- fill_w
- Fills the Nevot-Croce roughness matrix at an interface.
- fused_
interface_ kernel - Fused
(prev_di * d).hadamard(w)optionally followed by column scaling* diag(p). - hadamard
- identity
- mul
- mul_
assign - propagation_
diag - Writes
diag(exp(-i kz d))as column scaling factors. - zero
Type Aliases§
- Mat4
- Stack-allocated 4x4 complex matrix in row-major
[row][col]layout.