[sympy] Quaternions

2009-04-18 Thread projetmbc
Hello, is-it possible to use quaternions with sympy ? Christophe. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this g

[sympy] Re: cannot integrate integrate(exp(-x)*x**n,(,0,10))

2009-04-18 Thread Vinzent Steinberg
On 18 Apr., 02:07, Ondrej Certik wrote: > On Fri, Apr 17, 2009 at 4:02 PM, Minjae wrote: > > > Hello, > > > I am very new to Sympy, and I was attempting to use it in place of > > Mathematica.  It seems that when I try to integrate > > > integrate(exp(-x)*x**n,(x,0,10)).evalf() > > is "n" a numbe

[sympy] Re: Quaternions

2009-04-18 Thread Christophe
Sory, I forgot to tell you a great thanks for the code. ;-) Alan Bromborsky a écrit : > projetmbc wrote: > >> Hello, >> is-it possible to use quaternions with sympy ? >> >> Christophe. >> >> >> >> > Look at - > > http://docs.sympy.org/modules/galgebra/GA/GAsympy.html > > and - > >

[sympy] Re: Quaternions

2009-04-18 Thread Christophe
Thanks for the information. This seems very usefull. Because the quaternions are usefull for 3D geometry as the complexes are for 2D geometry, this could be a good feature to directly have quaternion. Best regards. Christophe. Alan Bromborsky a écrit : > projetmbc wrote: > >> Hello, >> is

[sympy] Tools for 3D geometry and 2D geometry

2009-04-18 Thread Christophe
Hello, I know that there are some tools for 2D geometry. What about 3D ? It could be usefull to have intersection of simple objects such as points, lines, circles, convex polygon and polyhedra, plane, circles and spheres... Is-it possible to work with Gröbner basis ? Best regards. Christophe.

[sympy] Re: Tools for 3D geometry and 2D geometry

2009-04-18 Thread Alan Bromborsky
Christophe wrote: > Hello, > I know that there are some tools for 2D geometry. What about 3D ? It > could be usefull to have intersection of simple objects such as points, > lines, circles, convex polygon and polyhedra, plane, circles and spheres... > > Is-it possible to work with Gröbner basis

[sympy] Re: Tools for 3D geometry and 2D geometry

2009-04-18 Thread Christophe
Again ;-) , a great thanks for the informations. Christophe. Alan Bromborsky a écrit : > Christophe wrote: > >> Hello, >> I know that there are some tools for 2D geometry. What about 3D ? It >> could be usefull to have intersection of simple objects such as points, >> lines, circles, conv

[sympy] Re: Tools for 3D geometry and 2D geometry

2009-04-18 Thread Alan Bromborsky
Christophe wrote: > Again ;-) , a great thanks for the informations. > > Christophe. > > > Alan Bromborsky a écrit : > >> Christophe wrote: >> >> >>> Hello, >>> I know that there are some tools for 2D geometry. What about 3D ? It >>> could be usefull to have intersection of simple obj

[sympy] Re: Printing of functions

2009-04-18 Thread Friedrich Hagedorn
On Fri, Apr 17, 2009 at 07:32:42PM -0700, Luke wrote: > > I am working with some sympy Functions that are dependent upon a sympy > Symbol 't'. For example: > t = Symbol('t') > q1 = Function('q1')(t) > > When q1 is printed I get: > q1(t) > Similarly, when q1.diff(t) is printed I get: > D(q1(t),

[sympy] Re: Printing of functions

2009-04-18 Thread Alan Bromborsky
Friedrich Hagedorn wrote: > On Fri, Apr 17, 2009 at 07:32:42PM -0700, Luke wrote: > >> I am working with some sympy Functions that are dependent upon a sympy >> Symbol 't'. For example: >> t = Symbol('t') >> q1 = Function('q1')(t) >> >> When q1 is printed I get: >> q1(t) >> Similarly, when q1.

[sympy] Re: Tools for 3D geometry and 2D geometry

2009-04-18 Thread Christophe
I've found the following page : http://www.mrao.cam.ac.uk/~clifford/publications/abstracts/chris_thesis.html . Christophe. Alan Bromborsky a écrit : > Christophe wrote: > >> Again ;-) , a great thanks for the informations. >> >> Christophe. >> >> >> Alan Bromborsky a écrit : >> >>

[sympy] Re: Tools for 3D geometry and 2D geometry

2009-04-18 Thread Alan Bromborsky
Christophe wrote: > I've found the following page : > http://www.mrao.cam.ac.uk/~clifford/publications/abstracts/chris_thesis.html > . > > Christophe. > > > > Alan Bromborsky a écrit : > >> Christophe wrote: >> >> >>> Again ;-) , a great thanks for the informations. >>> >>> Christoph

[sympy] Re: Tools for 3D geometry and 2D geometry

2009-04-18 Thread Ondrej Certik
On Sat, Apr 18, 2009 at 5:05 AM, Christophe wrote: > > Hello, > I know that there are some tools for 2D geometry. What about 3D ? It > could be usefull to have intersection of simple objects such as points, > lines, circles, convex polygon and polyhedra, plane, circles and spheres... Yes, that w

[sympy] Re: Printing of functions

2009-04-18 Thread Andy Ray Terrel
You can override the _sympystr_ method (or the defined printmethod in the selected printer) >>> from sympy import * >>> t = Symbol('t') >>> q1 = Function('q1')(t) >>> q1._sympystr_=lambda : 'q1' >>> print(q1) q1 --~--~-~--~~~---~--~~ You received this message beca

[sympy] Subclassing Poly?

2009-04-18 Thread dhruv
Hello all, I want to build a class to describe a generating function (as used in the context of discrete probability distributions). It would have exactly the functionality of the Poly class, have a normalization constraint on the coefficients, have a few more special methods that I'd define, an

[sympy] Re: Printing of functions

2009-04-18 Thread Ondrej Certik
On Sat, Apr 18, 2009 at 1:37 PM, Andy Ray Terrel wrote: > > You can override the _sympystr_ method (or the defined printmethod in > the selected printer) > from sympy import * t = Symbol('t') q1 = Function('q1')(t) q1._sympystr_=lambda : 'q1' print(q1) > q1 Thanks for al