SuperFluffy / rust-condest

Matrix condition number estimation in Rust
Apache License 2.0
2 stars 4 forks source link

Move allocation into a struct #1

Closed SuperFluffy closed 5 years ago

SuperFluffy commented 5 years ago

An important use case for condition number estimation / calculating one-norms is repeated estimation of matrices with the same dimension.

To make that work efficiently, it's necessary to not constantly reallocate when calling normest1. There should thus be an object that contains all allocated temporaries, and normest1 should be redefined in terms of that struct.

SuperFluffy commented 5 years ago

Fixed by #2