someone can help me?
when I run this script It gave me this error
"C:\Documents and Settings\Proprietario\D
esktop\hessiana.py"
                3
-6*y + 2*x + 4*x
-6*x + 6*y
Traceback (most recent call last):
  File "C:\Documents and Settings\Proprietario\Desktop\hessiana.py",
line 8, in
<module>
    S.solve_system([a,b],[x,y])
AttributeError: 'module' object has no attribute 'solve_system'

this is hessiana.py:

import sympy
x, y = sympy.symbols('xy')
f = x**4 + x**2 - 6*x*y + 3*y**2

a = sympy.diff(f, x)
sympy.pprint(a)
b = sympy.diff(f, y)
sympy.pprint(b)

sympy.solve_system([a,b], [x,y])
H = sympy.hessian(f, [x,y])

M1 = sympy.Matrix([14,-6], [-6,6])
M2 = sympy.Matrix([2,-6], [-6,6])

sympy.Matrix.berkowitz_minors(M2)
sympy.Matrix.berkowitz_minors(M1)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
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/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to