- exception nlcpy.linalg.LinAlgError
Generic Python-exception-derived object raised by linalg functions.
General purpose exception class, derived from Python's exception. Exception class, programmatically raised in linalg functions when a Linear Algebra-related condition would prevent further correct execution of the function.
>>> import nlcpy as vp >>> vp.linalg.inv(vp.zeros((2,2))) ... numpy.linalg.LinAlgError: Singular matrix