Deprecate the disp argument for signm, logm, sqrtm

Hi all,

I would like to propose deprecating the disp argument of the above matrix functions for the following reasons as:

  • it mutates the function return type and makes the code more complicated than needed
  • the “estimated error” is just the error, i.e not an estimate, which the user could just calculate themselves eg. ||BB - A||/||A||.

Please feel free to join in discussions at DEP: linalg: deprecate disp argument for signm, logm, sqrtm by j-bowhay · Pull Request #22427 · scipy/scipy · GitHub

Jake

3 Likes