Menu

#3179 rectform(abs(XX)) should not assume that XX is real

None
open
nobody
None
5
2017-08-19
2016-06-22
No

rectform(abs(XX)) should not assume that XX is real, but instead calculate cabs(XX).

Discussion

  • Stavros Macrakis

    Same for cabs(abs(XX))

     
  • Robert Dodier

    Robert Dodier - 2017-08-19

    I don't understand what the bug is here. I've tried this with different versions (5.10, 5.34, and 5.40+) and I get the same results, namely rectform(abs(XX)) --> abs(XX) and cabs(abs(XX)) --> abs(XX). That's the same whether XX is declared real or complex. Isn't abs(XX) the correct result?

     

Log in to post a comment.