Treatment of imaginary unit

Treatment of imaginary unit - Messaggi

#1 Pubblicato: 27/02/2012 13:24:35
Radovan Omorjan

Radovan Omorjan

325 apprezzamenti e 1 disapprezzamenti in 2.052 post.

Gruppo: 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 Pubblicato: 27/02/2012 15:06:48
Andrey Ivashov

Andrey Ivashov

2.343 apprezzamenti in 4.056 post.

Gruppo: 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 Pubblicato: 27/02/2012 15:22:30
Radovan Omorjan

Radovan Omorjan

325 apprezzamenti e 1 disapprezzamenti in 2.052 post.

Gruppo: 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!"
  • Nuovi post
  • Nessun nuovo post