Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hi
Something strange, very simple example, nothing special, but it doesn`t work
MC15 file is attached, thanks in advance
Many thanks, Luc
Your is way works.
Just for info everything is right when it is not a function
@ifomenko wrote:
Many thanks, Luc
Your is way works.
Just for info everything is right when it is not a function
No, not at all! 😉
You confuse numerical and symbolic evaluation.
Everythings is OK if you use numeric evaluation - even in your posted sheet with the function.
Its the symbolic evaluation which causes the error and this error also occurs if you don't turn it into a function.
As the very same error also occurs in Prime 6 with the old (muPad) and the new (FriCAS) symbolic processor and probably also in Luc's MC11 with Maple, it looks like the problem is not the symbolic processor itself but the interface between Mathcad and the symbolic which obviously will only accept scalar values for enumeration types.
So I guess we can call it a Mathcad & Prime bug.
Thanks, you are right. I know about difference in behaviour between num and symb engines and I tested this example on numeric case. It has the same issue. But I think I was not very attentive. Now I see that everything is ok with numeric evaluation.
Thank you, you are very thoughtful 🙂