On Sat, 25 Feb 2023 at 20:09, Louis Petingi <louis.peti...@csi.cuny.edu>
wrote:

> Thank you for the reply. I am working with the Laplacian matrix of a graph
> which is the Degree matrix minus the adjacency matrix.
> The Laplacian is a symmetric matrix and the smallest eigenvalue is zero.
> As the rows add it to 0, Lx=0x, and 1 is the resulting vector.
>

The ones vector is one solution, but so is all 2, or any other vector where
all the entries are equal. There is nothing in the eigenvector that makes
one more "worthy" than others, except for in particular applications.


> That is what I meant by the original eigenvector and sorry
> for the confusion the confusion. Most eigenvalues/eigenvalues calculators
> will give you 1 for first eigenvector
>

Sympy does seem to always return a 1 on the last non-zero entry of the
vector. Is that the normalisation you are looking for?

Here it is how it is computed, by the way:
https://github.com/sympy/sympy/blob/26f7bdbe3f860e7b4492e102edec2d6b429b5aaf/sympy/polys/matrices/ddm.py#L390-L406


/David.


>
> Best
>
> Louis Petingi
> Professor of Computer Science
> College of Staten Island
> City University of NY
> ------------------------------
> *From:* Ilhan Polat <ilhanpo...@gmail.com>
> *Sent:* Saturday, February 25, 2023 11:46 AM
> *To:* Discussion of Numerical Python <numpy-discussion@python.org>
> *Subject:* [Numpy-discussion] Re: non normalised eigenvectors
>
> Could you elaborate a bit more about what you mean with original
> eigenvectors? They denote the direction hence you can scale them to any
> size anyways.
>
> On Sat, Feb 25, 2023 at 5:38 PM <louis.peti...@csi.cuny.edu> wrote:
>
> Dear all,
>
> I am not an expert in NumPy but my undergraduate student is having some
> issues with the way Numpy returns the normalized eigenvectors corresponding
> to the eigenvalues. We do understand that an eigenvector is divided by the
> norm to get the unit eigenvectors, however we do need the original vectors
> for the purpose of my research. This has been a really frustrated
> experience as NumPy returns the normalized vectors as a default. I
> appreciate any suggestions of how to go about this issue. This seems to be
> a outstanding issue from people using Numpy.
>
> Thanks
>
> LP
> _______________________________________________
> NumPy-Discussion mailing list -- numpy-discussion@python.org
> To unsubscribe send an email to numpy-discussion-le...@python.org
> https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
> <https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.python.org%2Fmailman3%2Flists%2Fnumpy-discussion.python.org%2F&data=05%7C01%7CLOUIS.PETINGI06%40CUNY907.mail.onmicrosoft.com%7C836b31ea969149d5531908db17507377%7C6f60f0b35f064e099715989dba8cc7d8%7C0%7C0%7C638129406524877235%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=5zj2Nd3JCW8wWgBmvZ%2BekSP0sd31RlneOTZGIiPbR%2Fg%3D&reserved=0>
> Member address: ilhanpo...@gmail.com
>
> _______________________________________________
> NumPy-Discussion mailing list -- numpy-discussion@python.org
> To unsubscribe send an email to numpy-discussion-le...@python.org
> https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
> Member address: davidmen...@gmail.com
>
_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com

Reply via email to