1 страниц (4 вхождений)
[Nonlinear solver] Vectorize Operator and Symbolic Optimization in SS 6179 - Сообщения
#1 Опубликовано: 03.02.2017 05:34:27
The attached image shows different results in symbolic optimization in using Vetorize Operator, and
consequently generates an error when using "FindRoot" function in the attached worksheet.
When Equations 1B & 2B are disabled and 1A & 2A enabled, "FindRoot" gives the result.
Vectorize error - Symbolic Optimization.sm (189 КиБ) скачан 66 раз(а).


consequently generates an error when using "FindRoot" function in the attached worksheet.
When Equations 1B & 2B are disabled and 1A & 2A enabled, "FindRoot" gives the result.
Vectorize error - Symbolic Optimization.sm (189 КиБ) скачан 66 раз(а).
Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
#2 Опубликовано: 03.02.2017 06:07:35
if you initialize the vector Q, then it works
Q:mat(el(Q,1),el(Q,2),el(Q,3),el(Q,4),4,1)
sergio
Q:mat(el(Q,1),el(Q,2),el(Q,3),el(Q,4),4,1)
sergio
2 пользователям понравился этот пост
#3 Опубликовано: 03.02.2017 06:42:52
Thank you! It works.
Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
#4 Опубликовано: 03.02.2017 12:11:43
Your red vectorise is just a display, i.e: not an assignment.
Unlike the "red vectorise", the "blue vectorise" ASSIGNS the
vector required by FindRoots, thus immaterial wrt Symbolic/Numeric/NONE
The suggestion to initialise is not technical to me [just a comment].
It simply confuses matters. There is a long route to explore/clarify
the Smath Vectorise operator
Unlike the "red vectorise", the "blue vectorise" ASSIGNS the
vector required by FindRoots, thus immaterial wrt Symbolic/Numeric/NONE
The suggestion to initialise is not technical to me [just a comment].
It simply confuses matters. There is a long route to explore/clarify
the Smath Vectorise operator
1 страниц (4 вхождений)
-
Новые сообщения
-
Нет новых сообщений