You are viewing an older version (2.4.3). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.4.3 / numpy / linalg / LinAlgError

class

numpy.linalg:LinAlgError

source: /numpy/linalg/__init__.py

Summary

Generic Python-exception-derived object raised by linalg functions.

Extended Summary

General purpose exception class, derived from Python's ValueError class, programmatically raised in linalg functions when a Linear Algebra-related condition would prevent further correct execution of the function.

Parameters

None

Examples

from numpy import linalg as LA
LA.inv(np.zeros((2,2)))

Aliases

  • numpy.linalg.LinAlgError