Currently the method factorize_into still allocates a vector for the pivots. This seems normal, but I would like an api where there is no allocation at all. Here is one possibility
impl LuFactorized {
//updates factorization. Will resize (and therefore allocate) if neccessary.
fn factorize(&mut self, array: &ArrayBase)
}
The other (in my opinion even more useful) api is something like this:
Currently the method factorize_into still allocates a vector for the pivots. This seems normal, but I would like an api where there is no allocation at all. Here is one possibility
The other (in my opinion even more useful) api is something like this:
The second api is useful for the following use case