Skip to main content

SymEigenValues2by2

Calculate the eigenvalues of 2 by 2 matrix.

INTERFACE
MODULE PURE FUNCTION SymEigenValues2by2(mat) RESULT(ans)
REAL(DFP), INTENT(IN) :: mat(2, 2)
REAL(DFP) :: ans(2)
END FUNCTION SymEigenValues2by2
END INTERFACE