Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get eigenvalue and vector of the matrix #672

Closed
smartliukun opened this issue Jun 5, 2016 · 2 comments
Closed

how to get eigenvalue and vector of the matrix #672

smartliukun opened this issue Jun 5, 2016 · 2 comments

Comments

@smartliukun
Copy link

Hi,guys:
the mathjs lib is wonderful.I very like it .Thanks the authors and contributors.
I use it in my application,but the lib has no function or api to calculate the eigenvalue and eigenvector of matrix.Anybody knows how to get it?
Your prompt reply will be much appreciated.

@josdejong
Copy link
Owner

Calculating eigenvalues should definitely be supported by math.js, I'm sorry that this is not yet the case.

The following example shows how you can import the eig function from numeric.js and use it in math.js:

https://github.com/josdejong/mathjs/blob/master/examples/import.js#L59-L73

You can do the same with other missing functions: import them from some other library.

@smartliukun
Copy link
Author

thanks ,the guide will be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants