MisterAI's picture
download
raw
503 Bytes
"""
Exceptions raised by the matrix module.
"""
class MatrixError(Exception):
pass
class ShapeError(ValueError, MatrixError):
"""Wrong matrix shape"""
pass
class NonSquareMatrixError(ShapeError):
pass
class NonInvertibleMatrixError(ValueError, MatrixError):
"""The matrix in not invertible (division by multidimensional zero error)."""
pass
class NonPositiveDefiniteMatrixError(ValueError, MatrixError):
"""The matrix is not a positive-definite matrix."""
pass

Xet Storage Details

Size:
503 Bytes
·
Xet hash:
69a9b2a281b6adb1d64369efd00e113a8e13ffd0c9df4286ab6b3133321e5ed3

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.