Stack

Stack - Stack - Messages

#1 Posted: 3/31/2016 11:02:59 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Working with "stack"

Jean

Forum Stack.gif
#2 Posted: 3/31/2016 11:09:51 AM
Alexander O. Melnik

Alexander O. Melnik

127 likes in 494 posts.

Group: Moderator

Makes me wonder if summation (and other) error(s) for the result of stack is a bug that needs to be resolved

Actually nevermind, this seems to be resolved in the latest build:
stackJean.png

P.S.: love the new square [] brackets for matricies
#3 Posted: 3/31/2016 1:25:24 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... I can see some "improvement" ? in your latest Smath.
The old style is valid too, more flexible ? to be checked

Forum Stack2Vector.gif
#4 Posted: 3/31/2016 1:40:17 PM
Alexander O. Melnik

Alexander O. Melnik

127 likes in 494 posts.

Group: Moderator

Wrote

... I can see some "improvement" ? in your latest Smath.



Pun intended ? Did not get this. Also it is not "my Smath" by any stretch - all is Andrey's hard work.

Anyway I did not get your post - just my slow mind I guess.
#5 Posted: 3/31/2016 9:21:24 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Unlike "augment" that is a conclusive operation, "stack" is not a conclusive operation.
Unless "List is vectorised", as defined it is NOT a vector even if it displays as vector.
"List is a scalar vector". So, it won't sum. The module V(List) creates "List" as a vector,
then suited for sum. In the definition u:=1..5 ,,,, u is anything and nothng unless ASSIGNED
active [per say valued]. That's why the error message "Must be a vector" .
"Must be a vector" whether by the vectorising operator or by user creation.

Jean
  • New Posts New Posts
  • No New Posts No New Posts