Symbolic result for sum(#)

Symbolic result for sum(#) - Messages

#1 Posted: 7/5/2020 7:17:35 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,075 likes in 1,740 posts.

Group: User

Hi. sum have an issue for symbolics evaluations.

Clipboard02.gif

Clipboard01.gif

Best regards.
Alvaro.
#2 Posted: 7/5/2020 7:36:36 PM
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Just check , Alvaro.
Between yourself and me ... we are old kookoo in those games !

VectorSum.PNG

#3 Posted: 7/5/2020 8:51:36 PM
overlord

overlord

579 likes in 1,348 posts.

Group: Moderator

Wrote

Hi. sum have an issue for symbolics evaluations.

Best regards.
Alvaro.


You are correct, bug reproduced.
Definitely there are some issues.
Perhaps it is not only sum related too.

symbolic.png
1 users liked this post
Alvaro Diaz Falconi 7/6/2020 3:46:00 AM
#4 Posted: 7/6/2020 3:45:56 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,075 likes in 1,740 posts.

Group: User

Hi. Thanks Overlord. I don't see these other problem. What make troubles for me is the fact that sum don't returns the symbolic values but numerical approximations, in this case for sqrt(17). I expect to see sum(vec) = 5/sqrt(17) instead the rational showed. I introduce the "x" value just for check if sum have some eval() function somewhere. But then ... ups, another issue simplifying 1+4.

Best regards.
Alvaro.
#5 Posted: 7/6/2020 4:00:32 AM
Martin Kraska

Martin Kraska

1,285 likes in 2,206 posts.

Group: Moderator

sum.png
sum.sm (11.67 KiB) downloaded 627 time(s).
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Alvaro Diaz Falconi 7/6/2020 12:49:00 PM
#6 Posted: 7/6/2020 7:17:28 AM
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

I see no bug ...

NOBUG.sm (30.88 KiB) downloaded 593 time(s).
#7 Posted: 7/6/2020 12:48:31 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,075 likes in 1,740 posts.

Group: User

Hi. Some notes attached.

sum.sm (20.39 KiB) downloaded 627 time(s).
sum.pdf (66.13 KiB) downloaded 346 time(s).

Best regards.
Alvaro.
#8 Posted: 7/7/2020 7:34:39 AM
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Vsum.PNG
  • New Posts
  • No New Posts