feat(internal): add Jacobi symmetric-eigendecomposition helper
Hand-rolled symmetric-matrix eigendecomposition via the cyclic Jacobi rotation method. Returns sorted (eigenvalue, eigenvector) pairs in descending order. Pure f64 row-major `Vec<Vec<f64>>` interface so we don't pull in nalgebra for one algorithm. Lives in `src/internal/eigen.rs` (new module). Used by the upcoming CMA-ES implementation to maintain the covariance matrix's eigendecomposition each generation. Tested against the standard 2x2 case, the diagonal case, and a known 3x3 result.
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
|
||||
pub mod algorithms;
|
||||
pub mod core;
|
||||
pub(crate) mod internal;
|
||||
pub mod metrics;
|
||||
pub mod operators;
|
||||
pub mod pareto;
|
||||
|
||||
Reference in New Issue
Block a user