Dynamic Matrix Size
I occasionally don't know how large the final matrix is before I have completed assembly. Is this a setting that ExtendableSparse could support, or is there a strong reason to keep the matrix size predetermined and fixed?
No, currently, this is not the case.
... but it appears to be doable after modest restructuring. Can only allow myself to think about it after some other homework done, maybe after midweek...
I also have plans for a thread-safe variant, this may involve a similar question to be addressed.
What is the application case if you can tell ?
If it’s too much work then maybe not worth it.
Two situations that come to mind are
- assembling a LLSQ System when you don’t know beforehand what the dimensionality if individual observations is
- when a loop over a basis is given by an iterator which doesn’t know its own length a priori
Three :
- laziness :)
... finally got to work on multithreading, and indeed, dynamic sizing will be doable.