-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Eigenvalues/vectors in PolyMath #15
Comments
In fact, one example is available in the class comment of | m jacobi eigenvalues eigenvectors |
m := DhbSymmetricMatrix rows: #((84 -79 58 55)
(-79 84 -55 -58)
(58 -55 84 79)
(55 -58 79 84)).
jacobi := DhbJacobiTransformation matrix: m.
eigenvalues := jacobi evaluate.
eigenvectors := jacobi transform columnsCollect: [ :each | each]. This example should be move in the class and a proper class comment should be provided. |
How can I assign this task? |
You want to assign this task to who ? |
To me) |
Because you are not of the PolyMath org. I add you |
Hey guys, how is the work going on? I've heard that @ShyshkinOleh implemented the SVD decomposition. Is it integrated? Is something missing? |
Normally this is integrated except the tests ... |
@ShyshkinOleh, can you push tests so this task will be closed before Easter? |
I try to extract the tests but actually quite difficult to see the diff on metacello when you rename classes ... |
@SergeStinckwich @Uko |
Hi,
Maybe you can create your test cases with things like P*D*inv(P) where D is
a diagonal matrix (eventually with 2x2 blocs if you're willing to test
cases with complex eigenvalues) and P is (pseudo-)randomly generated.
We can arrange to have P represented with exact fractions, and inv being
computed exactly too, as well as *, so to avoid problems related to
multiple rounding.
Or you could try to bench against well known linear algebra package test
sets.
2017-04-11 21:13 GMT+02:00 ShyshkinOleh <notifications@github.com>:
… @SergeStinckwich <https://github.com/SergeStinckwich> @Uko
<https://github.com/Uko>
Currently, I have one test, which I showed to Yura, I'll push it soon and
will write in Slack about it. I don't know if I can do more tests because,
in general, we need to compare the final result, else should track by tests
of methods I use.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAscIhKNe7JwyEVmOos6oIKTb1_IdtrVks5ru9DXgaJpZM4LFMLx>
.
|
Having more benchmarks will be nice for sure. |
I added a test. Sorry for the delay, I had trouble with a system (reinstalling). |
There are 2 classes for supporting eigenvalues/eigenvectors at the moment:
DhbJacobiTransformation
andDhbLargestEigenValueFinder
.These classes are not documented and no examples are provided.
Some examples are here :
The text was updated successfully, but these errors were encountered: