Issue when functions have in definition and evaluation arguments with same names but different order

Issue when functions have in definition and evaluation arguments with same names but different order - 消息

#1 已发布: 2012/9/18 04:24:26
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Hi,

I've found an issue with symbolic evaluation of function (see the attachments)


regards,

w3b5urf3r
SMath Studio - [functions&case.sm].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#2 已发布: 2012/9/18 05:40:54
Radovan Omorjan

Radovan Omorjan

325个赞和1个踩,共2,052个帖子。

组: Moderator

Hello w3b5urf3r,

I am not quite sure if this should work this way. Look at the picture please. It seems it is connected to the possibility of changing the function arguments and not to the lowercase or uppercase letters. On the other hand, something like this is not possible neither numerically nor symbolically

[MATH=eng]f(a,b):a+b[/MATH]

[MATH=eng]a:3[/MATH]

[MATH=eng]f(a,a)=#@#[/MATH]

An error:"An item with the same key has already been added" seems to me quite strange and not comprehensible.

Regards,
Radovan

symbolic-the-same.png
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1位用户喜欢此帖子
Davide Carpi 2012/9/20 20:40:00
#3 已发布: 2012/9/20 20:36:22
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Hi omorr,

I agree with you, I'll change the Topic title...

The bug with multiple arguments seem related with this issue with strings.


regards,

w3b5urf3r
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • 有新帖
  • 无新帖