On 1 déc, 22:45, "se...@gmx.de" wrote:
> Hi,
>
> I'm a new sympy user and I've been trying to find out about class
> functions and so on (especially in the Geometry package). They don't
> seem to be documented though. It even says
>
> > For a full API listing and an explanation of the methods and
On 1 déc, 21:28, Scott wrote:
> Is there a sympy function for making symbolic tensors?
> Basically I want to treat 3x3 rotation tensor symbol that is constant
> inside of an integral while preserving the tensor algebra (A*B .ne.
> B*A). The 3x3 rotain tensor is multiplied by a 3x1 position tenosr
On 1 déc, 16:45, archeryguru2000 wrote:
> I was wondering, is there a way to tell sympy NOT to use exponential
> format when printing numbers?
>
> For example:
>
> In [2]: N(pi/(2*E),4)
> Out[2]: 5.779e-1 #But I'd rather see 0.5779
>
> If I choose a larger number, say 7, for the number of decimal
Vinzent Steinberg wrote:
> On 1 déc, 21:28, Scott wrote:
>
>> Is there a sympy function for making symbolic tensors?
>> Basically I want to treat 3x3 rotation tensor symbol that is constant
>> inside of an integral while preserving the tensor algebra (A*B .ne.
>> B*A). The 3x3 rotain tensor i
Is there any way to convert a sympy Matrix (or even numpy array, etc)
to an mpmath matrix? I have tried patching sympy.mpmath, but now I
get errors trying to convert sympy to mpmath!
Actually, is there a way to tell N(x, n=15, **options) to NOT print
exponential format? I will take a look at thi
Alan Bromborsky wrote:
> Vinzent Steinberg wrote:
>
>> On 1 déc, 21:28, Scott wrote:
>>
>>
>>> Is there a sympy function for making symbolic tensors?
>>> Basically I want to treat 3x3 rotation tensor symbol that is constant
>>> inside of an integral while preserving the tensor algebra (
Hi Alan!
On Wed, Dec 2, 2009 at 3:48 PM, Alan Bromborsky wrote:
> Alan Bromborsky wrote:
>> Vinzent Steinberg wrote:
>>
>>> On 1 déc, 21:28, Scott wrote:
>>>
>>>
Is there a sympy function for making symbolic tensors?
Basically I want to treat 3x3 rotation tensor symbol that is constan
Ondrej Certik wrote:
> Hi Alan!
>
> On Wed, Dec 2, 2009 at 3:48 PM, Alan Bromborsky wrote:
>
>> Alan Bromborsky wrote:
>>
>>> Vinzent Steinberg wrote:
>>>
>>>
On 1 déc, 21:28, Scott wrote:
> Is there a sympy function for making symbolic tenso
>>> cos(a/2)-u__z*sin(a/2)*e_x^e_y+u__y*sin(a/2)*e_x^e_z-u__x*sin(a/2)*e_y^e_z
>>>
>>> cos(a/2)+u__z*sin(a/2)*e_x^e_y-u__y*sin(a/2)*e_x^e_z+u__x*sin(a/2)*e_y^e_z
>>>
>>> (-2*u__z*x__y*cos(a/2)*sin(a/2)+2*u__y*x__z*cos(a/2)*sin(a/2)+x__x*cos(a/2)**2+x__x*u__x**2*sin(a/2)**2-x__x*u__y**2*sin(a/2)**2-