[SS-2302] Smath File Crash

[SS-2302] Smath File Crash - 消息

#1 已发布: 2016/3/4 23:48:32
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: User

The following Smath File worked fine under 97.5890. It opens a Excel data file for analysis.
But it crashes under 98.5905.
Why this happens?
未找到文件。未找到文件。
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#2 已发布: 2016/3/5 08:08:32
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

The crash is triggered in sum(1)

Even copying the Q matrix in a definition on the canvas the crash still happens.

Issue isolated: crash sum 1.sm (318.57 KiB)已下载 1347 次。

P.S. try sum(identity(30)) and sum(identity(50)), the second one crashes for me

opened as issue SS-2302
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 已发布: 2016/3/5 08:59:45
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Try this instead

Forum Matrix Crash.gif
#4 已发布: 2016/3/5 09:07:29
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

... sorry, forgot to attach the file

crash sum 1.sm (322.21 KiB)已下载 1349 次。
#5 已发布: 2016/3/5 12:44:48
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: User

Wrote

P.S. try sum(identity(30)) and sum(identity(50)), the second one crashes for me



The second one crashes for me too
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
1位用户喜欢此帖子
Davide Carpi 2016/3/5 13:38:00
#6 已发布: 2016/3/5 18:33:25
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: Super Administrator

2位用户喜欢此帖子
Davide Carpi 2016/3/5 21:05:00, NDTM Amarasekera 2016/3/6 09:53:00
#7 已发布: 2016/3/5 20:55:35
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Ioan,

You can dedicate a function "VectorMatrixSum(data)"
Unwrap has many more applications, thus interesting.
Under the hood, your combined Sigmas, they first
Unwrap. Matrices don't exist in computing Machinery.
Matrices exist as serialised components.
The "BombCompute Mathcad 11", copy/paste a fair size
matrix [16000000 per say] takes substantial time.
"Warning: the requested operation may take long time".
Can't be more true.
Cppy/paste 16000000 vector: NO warning message... done.

Chers, Jean

VectorMatrixSum.gif
#8 已发布: 2016/3/6 09:49:45
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: User

Thank you Andrey.
The problem on Smath file crash is now solved.
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
1位用户喜欢此帖子
Andrey Ivashov 2016/3/6 17:37:00
#9 已发布: 2016/3/7 00:44:24
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Thank you Andrey.
The problem on Smath file crash is now solved.



"now solved", maybe not so wrt matrix manipulation.
Observe the matrix scale code: M-Min(M)
I found out this built-in code is weak, prone to failure
with incorrect error message " Matrix is not invertible".
There is no matrix inversion involved. Observe the robust
code doing same. Example has low numerical values. At values
in the order of 10^10, module [1] fails.

Jean

Utilities Matrix Scale.sm (14.19 KiB)已下载 1335 次。

1位用户喜欢此帖子
Davide Carpi 2016/3/7 09:19:00
  • 有新帖
  • 无新帖