|Subject:||Re: inverse of singular sparse matrix|
|Date:||Fri, 10 May 2019 13:54:02 -0700|
On 05/10/2019 01:07 AM, address@hidden wrote:
I like the idea of splitting the special case of an empty matrix (probably a mistake, and, in any case, no useful value to return) from the more general singular matrix.
For the general singular matrix, I think preserving the sparsity but replacing all non-zero values with Inf is the most similar behavior to the dense case. As such, it satisfies the principle of least astonishment (https://en.wikipedia.org/wiki/Principle_of_least_astonishment) in user interface design.
Looks good to me.
|[Prev in Thread]||Current Thread||[Next in Thread]|