Fast Vectorize Operator

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

#1 已发布: 2018/2/24 04:28:28
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: 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)已下载 1336 次。
WL To Q_Vectorize.sm (28.56 KiB)已下载 1305 次。
1.July WL&RT.xlsx (29.52 KiB)已下载 1093 次。

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 已发布: 2018/2/24 18:44:14
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: 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位用户喜欢此帖子
frapuano 2018/2/25 06:02:00
#3 已发布: 2018/2/24 23:01:55
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: User

Hi Razonar

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

Jean Giraud

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

组: 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)已下载 1379 次。
#5 已发布: 2018/2/25 07:28:27
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: User

Thank you Jean!
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
  • 有新帖
  • 无新帖