Closed vladimir-ch closed 8 years ago
Perhaps I should have made it a question: Should factorizations be dimensionally restricted like matrices? Maybe they should but then they need a Reset method.
I agree with your last sentence, they should but with a reset method. @kortschak ?
That would be consistent with the rest of the API. Yes.
Ok, I changed the title of this issue. Now it seems obvious.
Another couple of questions comes to my mind:
I'm not sure if this issue is the best place for these questions but at least I write them here before they escape my mind. Also, it seems to me that this issue and the above questions fall under the API stability effort.
Closed by #378 and #382
Both methods panic when the size of the receiver and argument mismatch:
Wouldn't reusing it be more natural and useful?:
Otherwise the only way to reuse a factorization is through Factorize. The panic error ErrShape does not feel right either.