2 ms·
>This doesn't do any input checking including if the determinant is 0 Which seems to me like it assumes away a big part of the difficulty -- you'd need to foll
by SilasX 7y ago
>This doesn't do any input checking including if the determinant is 0
Which seems to me like it assumes away a big part of the difficulty -- you'd need to follow up with: for this problem domain, what am I doing with the answer? How do I need to handle a singular matrix? Should do I throw an exception, and how should the caller handle it?