Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4600110
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:38:15+00:00 2026-05-21T23:38:15+00:00

I have k=linalg.eig(Ki) where Ki for example is : [[ 1.84026465 -0.463138 ] [-0.463138

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T23:38:16+00:00Added an answer on May 21, 2026 at 11:38 pm

    linalg.eig returns two arrays, first the eigenvalues, then the eigenvectors.

    If you want the maximimum eigenvalue, then

    vals,vecs=linalg.eig(Ki)
    max_eigenvalue = vals.max()
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using numpy.linalg.eig to obtain a list of eigenvalues and eigenvectors: A = someMatrixArray
I have the following array in Python: points_list = [point0, point1, point2] where each
I have some issues with the FuncAnimation fonction of MatPlotLib . I can't configure
I have an array which describes a polyline (ordered list of connected straight segments)
Have an app that can use tts to read text messages. It can also
Have such a problem, hope you'll help me.. Can't find anywhere. Here is the
I have a project with the following structure: linalg ├── build ├── CMakeLists.txt ├──
I have a sparse matrix W, when I use linalg.pinv(W) , it throws some
Have 2 tables for example: In 1st: object & parent columns object | parent
I have an array of doubles, roughly 200,000 rows by 100 columns, and I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.