Module marlu::jones

source ·
Expand description

Code for general Jones matrix math.

It’s not ideal to use LAPACK for matrix multiplies or inverses, because it is not possible to optimise only for 2x2 matrices. Here, we supply the math for these special cases.

Parts of the code are derived from Torrance Hodgson’s MWAjl: https://github.com/torrance/MWAjl/blob/master/src/matrix2x2.jl

Structs