lumos.functions.det_2

lumos.functions.det_2(a11, a12, a21, a22)[source]

Calculates determinate of 2x2 matrix. Matrix components can be of type np.ndarray or float.

Returns \(\det \begin{pmatrix} a_{11} & a_{12} \\ a_{21} & a_{22}\end{pmatrix}\)