On 13 août, 10:47, Viny <[email protected]> wrote:
> Hi,
>
> I have a problem of memory into maxima when it performs a symbolic
> expression of an hessian matrix. This symbolic expression of the
> hessian seems to be too big. My sage program is written using python.
> And i want to compute the hessian matrix with mathematica 6.0 in my
> sage file.
> I need to compute symbolic expresstion of the gradient and the hessian
> with mathematica and after compute the mathématica LinearSolve
> function to solve hessian^-1*grad.
> How to make this interface in my .sage?
> Please help me!!!
>
> I have mathematica 6.0 and sage4.0.2 in my linux 64bit system.

This is an example of the function to compute the gradient in
my .sage, but it doesn't work.
def grad(f,v):
          return mathematica ( f ).D( [ ' v ',1] )
The result is {0,0} . I have another problem of format, i don't know
the command to change { } in () in the mathematica result {0,0}






--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to