Solved
Werner_EAnswer
25-Diamond I
April 1, 2023
Just the determinant?
So how about a small modification in Alvaro's RREF?

Sure could be done more efficient, but for a quick hack it seems to work OK. No error check (matrix square, etc.) is done. I simply changed the program to return 0 if no suitable pivot element could be found.
It also works symbolically, at least as long as only numbers are used. It fails symbolically when variables are used because the if-conditions can't be evaluated symbolically without knowing their actual values.

