Note
Go to the end to download the full example code.
5. Example: Failing Corner Cases
Here we demonstrate that the solver PTRANS-I can fail to solve a given system. A warning is given in that case and the output will be a nan-array.
/home/docs/checkouts/readthedocs.org/user_builds/pentapy/envs/stable/lib/python3.11/site-packages/pentapy/core.py:88: UserWarning: pentapy: PTRANS-I not suitable for input-matrix.
warnings.warn("pentapy: PTRANS-I not suitable for input-matrix.")
[nan nan nan nan]
Total running time of the script: (0 minutes 0.001 seconds)