Treatment of imaginary unit

Treatment of imaginary unit - Mensajes

#1 Publicado: 27/2/2012 13:24:35
Radovan Omorjan

Radovan Omorjan

325 me gusta y 1 no me gusta en 2.052 mensajes.

Grupo: 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 Publicado: 27/2/2012 15:06:48
Andrey Ivashov

Andrey Ivashov

2.343 me gusta en 4.056 mensajes.

Grupo: 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 Publicado: 27/2/2012 15:22:30
Radovan Omorjan

Radovan Omorjan

325 me gusta y 1 no me gusta en 2.052 mensajes.

Grupo: 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!"
  • Nuevos mensajes
  • Sin mensajes nuevos