Treatment of imaginary unit

Treatment of imaginary unit - Poruke

#1 Objavljeno: 27. 2. 2012. 13:24:35
Radovan Omorjan

Radovan Omorjan

325 svidjanja i 1 nesvidjanja u 2.052 postova.

Grupa: 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 Objavljeno: 27. 2. 2012. 15:06:48
Andrey Ivashov

Andrey Ivashov

2.345 svidjanja u 4.060 postova.

Grupa: 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 Objavljeno: 27. 2. 2012. 15:22:30
Radovan Omorjan

Radovan Omorjan

325 svidjanja i 1 nesvidjanja u 2.052 postova.

Grupa: 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!"
  • Novi postovi
  • Nema novih postova