Treatment of imaginary unit

Treatment of imaginary unit - Messages

#1 Posted: 2/27/2012 1:24:35 PM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello,

It seems that the imaginary unit (i = sqrt(-1)) is treated differently in v0.92 comparing to v0.91. It seems it is not allowed as a function argument in the function definition.

Example:


Accompanied file i-funargument.sm

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#2 Posted: 2/27/2012 3:06:48 PM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3730 posts.

Group: Super Administrator

Yes. This is by design: "i" (imaginary part) cannot be used as an attribute of the function definition anymore.

This was required to fix the situation we had in earlier SMath Studio versions:


Regards.
#3 Posted: 2/27/2012 3:22:30 PM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Thank you Andrey,

Yes, I remembered now the discussion about the imaginary unit as a function argument.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
  • New Posts New Posts
  • No New Posts No New Posts