sys list

sys list - Сообщения

#1 Опубликовано: 12.04.2020 08:19:52
haweHofmann

haweHofmann

3 сообщений из 32 понравились пользователям.

Группа: User

I am dealing with sys

How to determine the length of a list - it is realy due to length(sys2mat).
To extend a list I can address a higher index, correct?

in my example it seems to work - for a while..

SMath Studio 0.99.6884 - [Streckung-Dilate.sm_].jpg
cannot calculate

any idea what is going wrong?

and

How to insert an additional placeholder(o) for input in an existing line/sys?
|.
|.
|o
|.

Addition:
I add the file. I found some relation to a control num up down (k)
the factor k is used to calculate points in list L'. If k<0 set by control it will
cause the error - if k set manually there is no error?
Streckung-Dilate.sm (31 КиБ) скачан 34 раз(а).
#2 Опубликовано: 12.04.2020 13:15:59
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

How to insert an additional placeholder(o) for input in an existing line/sys ?


In either collect ... { or line|
select not highlight from right, type, [coma] to add place holder below
select not highlight from left, type, [coma] to add place holder above
both place holder you fill at will or zero.
Not sure what you attempt with the counter.
Construct polygons from joining vertices.

sys2mat.PNG

Maths Polygon Edu.sm (47 КиБ) скачан 26 раз(а).

#3 Опубликовано: 12.04.2020 14:14:54
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: Moderator

Wrote

How to insert an additional placeholder(o) for input in an existing line/sys?
|.
|.
|o
|.



You have to go at the end of the line above or at the begin of the line below and press the argument separator key.


Wrote

Addition:
I add the file. I found some relation to a control num up down (k)
the factor k is used to calculate points in list L'. If k



Seems there is a bug about deimal separators in the NumericUpDown plugin. I'll fix it ASAP.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#4 Опубликовано: 12.04.2020 14:18:22
haweHofmann

haweHofmann

3 сообщений из 32 понравились пользователям.

Группа: User

Thank you very much, I see I have to use the Arguments delimiter ";" in my case.

To get the number of list elements I have to take the detour via a matrix?


Counter problem
Please pay not attention zu polynom construction.


---obsolete after Davide's post----

The problem is that extending a list "L'" by komponent 4 fails, if counter k<0 .
curious. k is a dilate factor list L to list L'.

The question is why k (<0) by counter let fail extending list L' while set k manuell k:=-1 is working very well? There is no reason, in my opinion why a counter, should have this effect....
---
Thanks to Davide for being so fast in this time :-)
#5 Опубликовано: 12.04.2020 19:37:30
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

I add the file. I found some relation to a control num up down (k)
the factor k is used to calculate points in list L'. If k<0 set by control it will cause the error - if k set manually there is no error ?
......................
There are many more similar failure, but not from counter.
All those failed documents are doctored by transiting the guilty
via file [spool to file]. The attached is so doctored.
CWD:=CurrentDirectory("C:\SmathFile") should create a file directory.
You can use your own if you have such already existing.
Let us know if the Doctored Patient has survived.

Cheers ... Jean

Streckung-Dilate (1) Transit.sm (40 КиБ) скачан 25 раз(а).
#6 Опубликовано: 12.04.2020 20:12:56
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: Moderator

The problem with negative numbers should be fixed, you have to download the updated plugin (fix for SS 0.99.7100 and later only)

Wrote

To get the number of list elements I have to take the detour via a matrix?



Yes, this is because list/system isn't a different way to draw a vector, it's a function with a set of unique features, hence is not easy to adapt length to return the number of its items (it might, maybe introducing some error message while in the "grey zone" ). This is an example about how there isn't always an unique answer:

2020-04-12 23_23_39-Window.png

screenshot_20200413_01543496.png


Wrote

The question is why k (<0) by counter let fail extending list L' while set k manuell k:=-1 is working very well? There is no reason, in my opinion why a counter, should have this effect....


This is a bit complicated, but "numbers aren't numbers" might be a short answer. What you see on the canvas is stored in structured data objects where the numbers are text strings, then when you ask for a mathematical evaluation the program drives the object to the appropriate framework conversions and operations and when the result is available then performs the opposite to show it on the canvas (that's what allows the magic, the possibility to mix natural, real and complex numbers, text and more). The problem is that the plugin was giving the numbers to the program in the wrong way (even the positive ones, but in that case the program engine was fixing the bad input by itself, while it wasn't with negative decimals). My fault, but it was an easy fix. Thank you for reporting the issue!
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
sergio 13.04.2020 05:11:00
#7 Опубликовано: 12.04.2020 23:49:31
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

The question is why k (


In this application, the counter works 3 ways:
± in either directions ... 3rd way is freak: try it.
May not reproduce in your system.

0Appendix Pulse Reverse.sm (4 КиБ) скачан 19 раз(а).
#8 Опубликовано: 13.04.2020 07:09:19
haweHofmann

haweHofmann

3 сообщений из 32 понравились пользователям.

Группа: User


Great the support you two have given me, I'm gonna work on that first.
@Davide
because of your hints i put a k:=eval(k) after the control and with the workaround it works too.
comming back soon ;-)



#9 Опубликовано: 13.04.2020 12:04:56
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

because of your hints i put a k:=eval(k) after the control and with the workaround it works too.
comming back soon ;-)


In the attached, eval(,) in the 'k out' counter does not work.
This document has special application in Process Control.
Does the spool to file works for you ?

0Appendix Pulse Reverse.sm (18 КиБ) скачан 18 раз(а).
#10 Опубликовано: 13.04.2020 17:05:46
haweHofmann

haweHofmann

3 сообщений из 32 понравились пользователям.

Группа: User

OK,

I think the example transmit writes the value to file and read it back.
The doctored example works 4 me.



Appendix Pulse Reversal.sm
is not quite clear what it is trying to tell me...

#11 Опубликовано: 13.04.2020 18:18:25
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Appendix Pulse Reversal.sm
is not quite clear what it is trying to tell me...


It simply demonstrates ± counter made work,
made negative work from (+k) for the negative
that otherwise does not work.
Thanks, confirming spool to file works
Cheers ... Next ... Jean

0Appendix Pulse Reverse.sm (19 КиБ) скачан 22 раз(а). ... refreshed
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений