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 - Messages

#1 Posted: 9/18/2012 4:24:26 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: 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 Posted: 9/18/2012 5:40:54 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: 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 users liked this post
Davide Carpi 9/20/2012 8:40:00 PM
#3 Posted: 9/20/2012 8:36:22 PM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: 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
  • New Posts New Posts
  • No New Posts No New Posts