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 genf  
#1 Posted : 18 July 2017 15:06:33(UTC)
genf


Rank: Advanced Member

Groups: Registered
Joined: 10/06/2013(UTC)
Posts: 50
Man
Russian Federation

Was thanked: 6 time(s) in 6 post(s)
Добрый день!
Возникла проблема при использовании объединения матриц функцией stack, когда одна из матриц является зеркально другой.
Если просто использовать функцию stack, то все работает, но стоит включить её в состав переменной, как возникают проблемы (см. вложение - Stack-reverse.sm (8kb) downloaded 14 time(s).).

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

Offline mkraska  
#2 Posted : 18 July 2017 15:53:58(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,985
Germany

Was thanked: 1124 time(s) in 721 post(s)
Не понятно в чем проблема. Чего ожидаете?

2017-07-18 14_51_25-SMath Studio 0.98.6398 - [Stack-reverse.sm_].png
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline genf  
#3 Posted : 18 July 2017 16:18:24(UTC)
genf


Rank: Advanced Member

Groups: Registered
Joined: 10/06/2013(UTC)
Posts: 50
Man
Russian Federation

Was thanked: 6 time(s) in 6 post(s)
У меня так:
Stack.png


Обновился:

Stack2.png

Edited by user 18 July 2017 16:46:10(UTC)  | Reason: Not specified

Offline Jean Giraud  
#4 Posted : 18 July 2017 16:58:55(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)
... like this

Stack-reverse [like this].sm (8kb) downloaded 16 time(s).
thanks 1 user thanked Jean Giraud for this useful post.
on 18/07/2017(UTC)
Offline Ber7  
#5 Posted : 18 July 2017 17:10:47(UTC)
Ber7


Rank: Advanced Member

Groups: Registered
Joined: 15/07/2010(UTC)
Posts: 437
Man
Israel
Location: Beer-Sheva

Was thanked: 520 time(s) in 288 post(s)
Genf,Try it:
m2 = eval(reverse(m))

Edited by user 18 July 2017 17:13:53(UTC)  | Reason: Not specified

thanks 1 user thanked Ber7 for this useful post.
on 18/07/2017(UTC)
Offline genf  
#6 Posted : 18 July 2017 17:49:30(UTC)
genf


Rank: Advanced Member

Groups: Registered
Joined: 10/06/2013(UTC)
Posts: 50
Man
Russian Federation

Was thanked: 6 time(s) in 6 post(s)
Спасибо за участие!

eval помог.
Offline Jean Giraud  
#7 Posted : 18 July 2017 23:33:32(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)
A most important nuance, visit the Sierpinski.

Jean

eval feature.PNG

Pattern Fractal Sierpinski.sm (12kb) downloaded 12 time(s).
Offline Denis.N  
#8 Posted : 19 July 2017 08:29:53(UTC)
Denis.N


Rank: Member

Groups: Registered
Joined: 21/05/2015(UTC)
Posts: 11
Man
Russian Federation

Was thanked: 2 time(s) in 2 post(s)
Originally Posted by: genf Go to Quoted Post
Добрый день!
Возникла проблема при использовании объединения матриц функцией stack, когда одна из матриц является зеркально другой.
Если просто использовать функцию stack, то все работает, но стоит включить её в состав переменной, как возникают проблемы (см. вложение - Stack-reverse.sm (8kb) downloaded 14 time(s).).


Похоже какой-то глюк.
Нажимаю после строчки "k:stack(m,m2)" знак "=" и результат меняется

2017-07-19_08-26-36.gif
Offline Davide Carpi  
#9 Posted : 19 July 2017 09:21:09(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
simply change the optimization of m2:reverse(m) or k:stack(m,m2) from symbolic to numeric
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline mkraska  
#10 Posted : 19 July 2017 12:32:23(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,985
Germany

Was thanked: 1124 time(s) in 721 post(s)
One more reason to vote for the feature request SS-19
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Jean Giraud  
#11 Posted : 19 July 2017 18:51:45(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)
Symbolic evaluation: -> like Mathcad is a must
Numeric evaluation: =
Symbolic definition: <- (store after symbolic simplification)
......................... local definition for programming
Numeric definition: := (store as number or as is)
Non-optimized definition: ≡ (store as is)
≡ will be confusing with Mathcad global definition

Are we going to have at least -> symbolic evaluation ?

Jean
Users browsing this topic
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.