Skip to main content

Module math

Module math 

Source
Expand description

Reusable numerical kernels for transfer-matrix solvers.

This module has no dependency on any solver.

Functionsยง

exact_inv_4x4
Inverse of a 4x4 complex matrix via the closed-form adjugate.
exact_inv_4x4_generic
Closed-form inverse on row-major arrays, generic over precision.