[SS-2302] Smath File Crash

[SS-2302] Smath File Crash - Messages

#1 Posted: 3/4/2016 11:48:32 PM
NDTM Amarasekera

NDTM Amarasekera

130 likes in 352 posts.

Group: 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?
File not found.File not found.
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#2 Posted: 3/5/2016 8:08:32 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: 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 KiB) downloaded 39 time(s).

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 Posted: 3/5/2016 8:59:45 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Try this instead

Forum Matrix Crash.gif
#4 Posted: 3/5/2016 9:07:29 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... sorry, forgot to attach the file

crash sum 1.sm (322 KiB) downloaded 38 time(s).
#5 Posted: 3/5/2016 12:44:48 PM
NDTM Amarasekera

NDTM Amarasekera

130 likes in 352 posts.

Group: 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 users liked this post
Davide Carpi 3/5/2016 1:38:00 PM
#6 Posted: 3/5/2016 6:33:25 PM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3730 posts.

Group: Super Administrator

2 users liked this post
Davide Carpi 3/5/2016 9:05:00 PM, NDTM Amarasekera 3/6/2016 9:53:00 AM
#7 Posted: 3/5/2016 8:55:35 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 3/6/2016 9:49:45 AM
NDTM Amarasekera

NDTM Amarasekera

130 likes in 352 posts.

Group: 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 users liked this post
Andrey Ivashov 3/6/2016 5:37:00 PM
#9 Posted: 3/7/2016 12:44:24 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 43 time(s).

1 users liked this post
Davide Carpi 3/7/2016 9:19:00 AM
  • New Posts New Posts
  • No New Posts No New Posts