[package]
name = "EighBug"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# ndarray
ndarray = "0.15.6"
# ndarray_linalg
ndarray-linalg = { version = "0.16.0", features = ["openblas-static"] }
# num
num = "0.4.1"
# rustfmt
rustfmt = "0.10.0"
A @ eigenvectors should equal eigenvectors @ eigenvalues without needing to invert the row ordering.
This could very likely be a misunderstanding on my end. But it may be related to the reversal of UPLO::Upper and UPLO::Lower. For example, for the array:
Related: #307
MWE:
Cargo.toml
:main.rs
:Output
Expected output
A @ eigenvectors
should equaleigenvectors @ eigenvalues
without needing to invert the row ordering.This could very likely be a misunderstanding on my end. But it may be related to the reversal of
UPLO::Upper
andUPLO::Lower
. For example, for the array:eigh(UPLO::upper)
returns[3, 3, 3]
for the eigenvalues, which is the expected result foreigh(UPLO::lower)
.