I have
k=linalg.eig(Ki)
where Ki for example is :
[[ 1.84026465 -0.463138 ]
[-0.463138 3.83931947]]
and result k is:
(array([ 1.73817877, 3.94140535]), array([[-0.97655787, 0.21525501],
[-0.21525501, -0.97655787]]))
how can I display just biggest value from k (I don’t know why are there 2 array, if I calculate by hand only first array is result..) ? I’m looking something like max(k)…anyone know?
linalg.eig returns two arrays, first the eigenvalues, then the eigenvectors.
If you want the maximimum eigenvalue, then