computes the determinant of the permutation matrix that is defined by pivot indices as returned by scipy.linalg.lu_factor
(piv)
source not stored for this graph (policy: none)