[sympy] How to compute the gradient and Hessian of a vector field symbolically with sympy.

2020-07-03 Thread Isaque Soares
Is there a way to compute the gradient and hessian matrices of a vector field like u = (x) i + (2yz) j + (3xy) k. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [sympy] warning: from sympy import * is deprecated

2020-07-03 Thread Oscar Benjamin
Hi Volker, The problem is that you are using sympy.numbers.Zero. There is no sympy.numbers module. Rather there is a sympy.core.numbers module which is where Zero is defined. In SymPy 1.5 the main sympy/__init__.py used to do from .core import * which resulted in the sympy.core.numbers module

[sympy] warning: from sympy import * is deprecated

2020-07-03 Thread Volker Weißmann
Hello, I have library that is organized as follows: mymod/__init__.py: from .base import * mymod/base.py: import sympy from .modA import * from .modB import * mymod/modA.py: from .base import * var = sympy.numbers.Zero mymod/modB.py: from .base import * # other code When I run python -c