Hi again,
On Jan 3, 9:51 pm, Pearu Peterson <[EMAIL PROTECTED]> wrote:
> The following page reports how the performance of SymPy and
> Sympy Core has changed during the development of the sympy
> package:
>
> http://code.google.com/p/sympycore/wiki/PerformanceHistory
>
> Note that the used test
On Thu, Jan 17, 2008 at 03:15:49PM +0100, Ondrej Certik wrote:
>
> On Jan 17, 2008 2:50 PM, Friedrich Hagedorn <[EMAIL PROTECTED]> wrote:
> >
> > Hello,
> >
> > how can do like this:
> >
> > x + x**2 == x*(1 + x)
> >
> > ?
>
> In [1]: factor(x+x**2)
> Out[1]: x*(1 + x)
Fine. Now I want do
On Sat, Jan 19, 2008 at 09:01:05PM +0100, Friedrich Hagedorn wrote:
>
> On Thu, Jan 17, 2008 at 03:15:49PM +0100, Ondrej Certik wrote:
> >
> > On Jan 17, 2008 2:50 PM, Friedrich Hagedorn <[EMAIL PROTECTED]> wrote:
> > >
> > > Hello,
> > >
> > > how can do like this:
> > >
> > > x + x**2 == x*(
On Sat, Jan 19, 2008 at 09:01:05PM +0100, Friedrich Hagedorn wrote:
>
> On Thu, Jan 17, 2008 at 03:15:49PM +0100, Ondrej Certik wrote:
> >
> > On Jan 17, 2008 2:50 PM, Friedrich Hagedorn <[EMAIL PROTECTED]> wrote:
> > >
> > > Hello,
> > >
> > > how can do like this:
> > >
> > > x + x**2 == x*(
On Sat, Jan 19, 2008 at 11:35:00PM +0300, Kirill Smelkov wrote:
>
> On Sat, Jan 19, 2008 at 09:01:05PM +0100, Friedrich Hagedorn wrote:
> >
> > On Thu, Jan 17, 2008 at 03:15:49PM +0100, Ondrej Certik wrote:
> > >
> > > On Jan 17, 2008 2:50 PM, Friedrich Hagedorn <[EMAIL PROTECTED]> wrote:
> > >
Hello,
I can not do
In [272]: var('a b')
Out[272]: (a, b)
In [273]: expr = sqrt(a)*exp(b)
In [274]: expr.subs(sqrt(a), 1)
[...]
: 'Basic' object has no attribute 'Log'
By,
Friedrich
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
On Sat, Jan 19, 2008 at 10:10:54PM +0100, Friedrich Hagedorn wrote:
>
> Hello,
>
> I can not do
>
> In [272]: var('a b')
> Out[272]: (a, b)
>
> In [273]: expr = sqrt(a)*exp(b)
>
> In [274]: expr.subs(sqrt(a), 1)
> [...]
> : 'Basic' object has no attribute 'Log'
>
> By,
> Friedrich
Friedri
In [15]: x, y, z = symbols('xyz', real=True)
In [16]: exp(I*x).expand(complex=True)
Out[16]: I*sin(x) + cos(x)
In [17]: re(_)
Out[17]: re(cos(x))
In [18]: im(__)
Out[18]: im(cos(x)) + sin(x)
Obviously the output should have been cos(x) and sin(x) respectively.
I created an issuse for this htt