Hello Andrey,
Thank you for answering but It seems that I was wrong in some way. I forgot that making a symbolic vector say X with the elements of the same name as the vector itself i.e. X[1],X[2]...is problematic.
Here is the example:

To be honest, I am not quite sure way is this not possible. There must be some reason for that, I suppose.
Therefore, the previous example with Jacob() was a kind of mistake. I should use another name for the vector, and then it would work:

On the other hand, If we try to use Jacob() inside a function which apply Newton Raphson method, there might be a problem. Here I continue with the previous example:

If we want to use this function fNewtonm() we must take care that the first argument "f(1)" is a function with as single argument, the second argument is "xs" - a symbolic vector. The problem is that we have to know in advance that the local function "fJ(X)" inside fNewtonm() must have the vector argument X with the symbolic vector elements X[1],X[2],..., otherwise this will not work. Therefore when we call the function fNewtonm() the second symbolic vector, "XS" here, must have symbolic vector elements with X[1],X[2],.... I do not know how to make this particular fNewtonm() more general in order to work with some arbitrary named symbolic vector because what Jacob() returns depends on "xs" vector and the argument name of "fJ()" function might be different.
Here is the accompanied file -
Primer65ccc.sm I hope I made myself understood.
Regards,
Radovan
Edited by user Monday, April 16, 2012 1:50:55 PM(UTC)
| Reason: Not specified