Calculates eigenvalues based on the trigonometric solution of A = pB + qI
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | a(3,3) |
The symmetric input matrix |
||
| real(kind=wp), | intent(out) | :: | w(3) |
Contains eigenvalues on exit |
pure subroutine eigval_3x3(a, w) !> The symmetric input matrix real(wp), intent(in) :: a(3, 3) !> Contains eigenvalues on exit real(wp), intent(out) :: w(3) call eigval_3x3_kernel(a, w) end subroutine eigval_3x3