Skip to main content
Best answer by LucMeekes

Try this.

 

Success!
Luc

2 replies

25-Diamond I
February 6, 2019
ifomenko1-VisitorAuthor
1-Visitor
February 6, 2019

Thank you Werner!

Sorry, I marked LucMeekes`s answer as correct because of his level is less than yours, don`t be offended by me 🙂

25-Diamond I
February 6, 2019

@ifomenko wrote:

Thank you Werner!

Sorry, I marked LucMeekes`s answer as correct because of his level is less than yours, don`t be offended by me 🙂


Don't worry! Most of us don't care about that level, points, ... 🙂

 

BTW, the main point is that the symbolic evaluation must be done INSIDE the program. In your trials you evaluated the whole function symbolically which happens automatically if the function is just a one-liner.

That was the reason for my dummy line with the quotes.

As an alternative you can put the symbolic eval in parenthesis like ...:=(t coeffs, x[i -> )

 

All this won't work in Prime, BTW, as they have broken the possibility to insert symbolic evals inside programmed functions 😞

LucMeekes23-Emerald IVAnswer
23-Emerald IV
February 6, 2019

Try this.

 

Success!
Luc

ifomenko1-VisitorAuthor
1-Visitor
February 6, 2019

Luc!

I made some critical changes with your function, it has to return 3x3 matrix.

coeffsOfVectorFunction.PNG

23-Emerald IV
February 6, 2019

No problem.

I took it one step further. It now should work for n equations (with n variables) and independent on the setting of ORIGIN.

LM_20190206_Coeffs.png

Success!
Luc