Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
What does "The return value of this function must match the problem size" mean? I could not find it in the list of error messages. Instance in the attached file.
Solved! Go to Solution.
John Rudnicki wrote:
What does "The return value of this function must match the problem size" mean? I could not find it in the list of error messages. Instance in the attached file.
I don't know, but I suspect it's either related to the particular solver you've got selected or to the interpolating polynomial (this being my number one guess). You can get round the problem by right-clicking on OdeSolve and choosing Adaptive from the context menu.u Interestingly, this was one of the few cases I've encountered where Prime 3.1 didn't bat an eyelid and solved it straight away.
That 2.57... number you can see is the value of chat just before the Radau solver choked.
Stuart
John Rudnicki wrote:
What does "The return value of this function must match the problem size" mean? I could not find it in the list of error messages. Instance in the attached file.
I don't know, but I suspect it's either related to the particular solver you've got selected or to the interpolating polynomial (this being my number one guess). You can get round the problem by right-clicking on OdeSolve and choosing Adaptive from the context menu.u Interestingly, this was one of the few cases I've encountered where Prime 3.1 didn't bat an eyelid and solved it straight away.
That 2.57... number you can see is the value of chat just before the Radau solver choked.
Stuart
Thanks. I thought that changing eta, which is a kind of damping might help, but it didnt. How did you find the 2.57...number?
Still not enough reason for me to switch to Prime!
John Rudnicki wrote:
,,,How did you find the 2.57...number?
guess and iterate! It didn't take long ... although I was tempted to write a program after the first 5 iterations.
Still not enough reason for me to switch to Prime!
No, same here. The image handling (or rather almost complete lack of it) is a strict no-go for me. I'm still at the stage I was in for Mathcad 13, ie develop in 11 and convert to 13. Similarly, I develop in M15 and then see if Prime will handle it.
Stuart