Fast Vectorize Operator

Fast Vectorize Operator - Vectorize operator much faster than Array Index in Large Matrix Analysis - Messaggi

#1 Pubblicato: 24/02/2018 04:28:28
NDTM Amarasekera

NDTM Amarasekera

130 apprezzamenti in 352 post.

Gruppo: User

Examples compare speed of execution using Vectorize Operator vs Array Index in Large Matrix Analysis.

WL To Q_Array Index.sm (27,25 KiB) scaricato 1327 volta(e).
WL To Q_Vectorize.sm (28,56 KiB) scaricato 1294 volta(e).
1.July WL&RT.xlsx (29,52 KiB) scaricato 1087 volta(e).

WL To Q_Array Index.jpg
WL To Q_Vectorize.jpg
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#2 Pubblicato: 24/02/2018 18:44:14
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Hi. This is the help page for matlab about what their call (in matlab slang) the "vectorization process", instead of the use of "scalar approach" which include for and while loops: https://la.mathworks.com/help/matlab/matlab_prog/vectorization.html

So, scalar = for, while, slow, and vectorial = vectorize in smath, and fast.

Best regards

Alvaro.
1 utenti hanno apprezzato questo post
frapuano 25/02/2018 06:02:00
#3 Pubblicato: 24/02/2018 23:01:55
NDTM Amarasekera

NDTM Amarasekera

130 apprezzamenti in 352 post.

Gruppo: User

Hi Razonar

Thank you for the useful info.
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#4 Pubblicato: 25/02/2018 00:45:47
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Examples compare speed of execution using Vectorize Operator vs Array Index in Large Matrix Analysis.


Here attached a good demo.
VectorizTest.sm (22,24 KiB) scaricato 1369 volta(e).
#5 Pubblicato: 25/02/2018 07:28:27
NDTM Amarasekera

NDTM Amarasekera

130 apprezzamenti in 352 post.

Gruppo: User

Thank you Jean!
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
  • Nuovi post
  • Nessun nuovo post