[
https://issues.apache.org/jira/browse/MATH-1557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17223115#comment-17223115
]
Randy Strauss commented on MATH-1557:
-------------------------------------
[~erans] : Can I pull down the sources and tests and add mine?
It's too much code to just give an example.
Apache's eigen tech doesn't sort and normalize the vectors. Without
normalizing them, the vectors should be the same only up to a scalar multiple.
Similarly the values need to be sorted for more easy comparison. I have code
that does this, but it's not tiny. It'd be easier to add it to your code and
then zip up the new files.
> Enhancement request: Complex Eigen Vectors
> ------------------------------------------
>
> Key: MATH-1557
> URL: https://issues.apache.org/jira/browse/MATH-1557
> Project: Commons Math
> Issue Type: Improvement
> Affects Versions: 3.6.1
> Reporter: Randy Strauss
> Priority: Major
> Attachments: real-eigen-vectors-test-case.txt
>
>
> I have a real hamiltonian matrix and need to get complex eigenvalues and
> eigenvectors, just like MatLab produces (I'm moving code from MatLab to Java).
> I put a test case in the real-eigen-vectors-test-case.txt file, attached.
> (Meanwhile, I'll try the ojAlg library... The only other one I haven't
> investigated is JEigen, a wrapper around the C++ eigen library...)
> Thanks.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)