pfapack.exceptions module

PFAPACK: Efficient numerical computation of the Pfaffian.

exception pfapack.exceptions.ComputationError[source]

Bases: PFAPACKError

Raised when the computation fails.

exception pfapack.exceptions.InvalidDimensionError[source]

Bases: PFAPACKError

Raised when matrix dimensions are invalid.

exception pfapack.exceptions.InvalidParameterError[source]

Bases: PFAPACKError

Raised when an invalid parameter is provided.

exception pfapack.exceptions.PFAPACKError[source]

Bases: Exception

Base exception for PFAPACK errors.