In python, we have a way to efficient check for singular matrix here:
if linalg.cond(x) < 1/sys.float_info.epsilon:
i = linalg.inv(x)
else:
#handle it
But how can we do similar way in the C programming launguage?
You need to sign in to view this answers
Leave feedback about this