Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Jean Giraud  
#1 Posted : 31 March 2016 17:02:59(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Working with "stack"

Jean

Forum Stack.gif

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Alex M.  
#2 Posted : 31 March 2016 17:09:51(UTC)
Alex M.


Rank: Advanced Member

Groups: Registered
Joined: 03/03/2014(UTC)
Posts: 418
Canada

Was thanked: 125 time(s) in 96 post(s)
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

Edited by user 31 March 2016 17:14:34(UTC)  | Reason: Not specified

Offline Jean Giraud  
#3 Posted : 31 March 2016 19:25:24(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
... I can see some "improvement" ? in your latest Smath.
The old style is valid too, more flexible ? to be checked

Forum Stack2Vector.gif
Offline Alex M.  
#4 Posted : 31 March 2016 19:40:17(UTC)
Alex M.


Rank: Advanced Member

Groups: Registered
Joined: 03/03/2014(UTC)
Posts: 418
Canada

Was thanked: 125 time(s) in 96 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
... 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.
Offline Jean Giraud  
#5 Posted : 01 April 2016 03:21:24(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
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
Users browsing this topic
Guest
Similar Topics
Creating stack of arbitrary size? (Questions)
by Stargate38 04/08/2022 01:16:39(UTC)
Empty stack with maple (Bugs & Problems)
by Bruno Choquepata 04/07/2021 07:24:23(UTC)
Empty stack using maple (Questions)
by Bruno Choquepata 04/07/2021 06:22:35(UTC)
horizontally stacked fraction (Questions)
by Britt1 26/03/2019 19:06:18(UTC)
Некорректная работа Stack (Bugs & Problems)
by genf 18/07/2017 15:06:33(UTC)
stack performs extremely slow (Bugs & Problems)
by MarB 29/06/2017 09:39:46(UTC)
Using eval() with stack() (Questions)
by RFreund 30/01/2016 19:09:50(UTC)
Stack Empty (Questions)
by ndtma 11/09/2015 12:05:43(UTC)
Stack function (Bugs & Problems)
by Dham 03/05/2013 21:14:46(UTC)
problem with stack and reverse (Bugs & Problems)
by Davide Carpi 20/05/2012 13:26:43(UTC)
augment() and stack() (Bugs & Problems)
by omorr 14/04/2012 21:09:43(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.