eigval_3x3 Subroutine

public pure subroutine eigval_3x3(a, w)

Calculates eigenvalues based on the trigonometric solution of A = pB + qI

Arguments

Type IntentOptional 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


Source Code

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