SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
[Nonlinear solver] Vectorize Operator and Symbolic Optimization in SS 6179
Rank: Advanced Member Groups: Registered
Joined: 05/06/2014(UTC) Posts: 348 Location: Colombo Was thanked: 124 time(s) in 82 post(s)
|
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 (190kb) downloaded 25 time(s).Edited by moderator 03 February 2017 13:34:26(UTC)
| Reason: Not specified |
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/12/2011(UTC) Posts: 318 Location: italy Was thanked: 109 time(s) in 93 post(s)
|
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
|
2 users thanked PompelmoTell for this useful post.
|
on 03/02/2017(UTC), on 03/02/2017(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/06/2014(UTC) Posts: 348 Location: Colombo Was thanked: 124 time(s) in 82 post(s)
|
|
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
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
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
[Nonlinear solver] Vectorize Operator and Symbolic Optimization in SS 6179
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.