On Saturday 06 June 2009 05:22:23 smichr wrote:
> Just noticed an odd behavior: does anyone know why a power would be
> changed to real by simplification if that power is a term in a
> division expression?
>
> ###
>
> >>> a,y=var('a y')
> >>> simplify(a*y**5)
>
> a*y**5
>
> >>> simplify(y**5/a)
>
On Sunday 03 May 2009 18:25:42 Akshay Srinivasan wrote:
> Is there anyway I can replace functions without bothering about the
> functional arguments? I mean say I have an expression like:
>
> expr=tan(x) + tan(y)
>
> I want to be able to do something like :
>
> expr.subs(tan(),sin()/cos())
>
> ,to
2009/4/7 flyeng4
>
> I am trying to understand physics.units. Here is an ipython session
> illustrating my mental block
>
> In [32]: from sympy.physics.units import *
>
> In [33]: V/ohm
> Out[33]: A <-- This makes sense.
>
> In [34]: A*ohm
> Out[34]: m**2*kg/(A*s**3) <-- Why not 'V'?
>
On Friday 13 February 2009 22:25:07 Ondrej Certik wrote:
> On Thu, Feb 12, 2009 at 7:13 PM, Ted Horst wrote:
> > Well, if I understand correctly its pretty straightforward. Here is a
> > simple patch, the tests are just copied from the subs tests, which is
> > probably not quite right.
>
> Thank
On Wednesday 04 February 2009 00:16:14 antonio sacchi wrote:
> thank you for the answer
> I found the error "solve_system" instead of "solve"!!
>
> but now how I can pass every couple of critical point to the hessiana,
> and take determinant?
>
> this is my script now:
> import sympy
>
> x = sympy
2009/2/3 antonio sacchi
>
> 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
On Saturday 13 December 2008 17:59:08 Aaron wrote:
> Hi all,
>
> First I'd like to give heartfelt thank to the sympy team. It's really
> a good package, and it helps me a lot as I'm working on some
> calculations of dynamic systems.
>
> I'm a newbie to sympy. The problem is, I do not know whether
On Thursday 04 December 2008 19:52:45 Scott wrote:
> In spite of my best efforts I cannot get lambdify to cope with array/
> list inputs. All the lambdify examples have 1D inputs.
> Can you pass in x= x1,x2 ?
> dof and d_dof are both 4*1 lists
>
> I am also have trouble with lambdify seeing list
On Tuesday 02 December 2008 22:45:52 llarsen wrote:
> > So let's implement it. I am sorry Lance it has taken so long to
> > discuss this, I think noone has realized all the possible problems
> > that arised.
>
> It has been nice to have feedback on this issue. Some of the problems
> with the initi
On Friday 28 November 2008 15:06:37 Ondrej Certik wrote:
> Hi,
>
> there is a long discussion in the following two threads:
>
> http://groups.google.com/group/sympy-patches/browse_thread/thread/83c33c0aa
>8560475/
> http://groups.google.com/group/sympy-patches/browse_thread/thread/628ebc799
>ee57e
On Friday 21 November 2008 20:45:01 Kirill Smelkov wrote:
> On Mon, Nov 17, 2008 at 02:15:22PM +0100, Abderrahim KITOUNI wrote:
> > Hi everyone,
> > it's been a long time, I was following the project but didn't have
> > time to contribute.
> >
> >
On Sunday 16 November 2008 20:20:22 Vinzent Steinberg wrote:
> On 16 Nov., 01:07, Kirill Smelkov <[EMAIL PROTECTED]> wrote:
> > Yes, Wine is a good example.
>
> There is another example: KHTML. They are using LGPL and were forked
> by Apple. There were patches from Apple, but they could not be
> i
On Sunday 16 November 2008 15:02:44 Kirill Smelkov wrote:
> On Sun, Nov 16, 2008 at 01:36:30PM +0100, Ondrej Certik wrote:
> > Hi Kirr,
> >
> > let me say that I am not convinced that LGPL is better for SymPy.
> >
> > It seems to me that you think that LGPL will protect you 100% and keep
> >
> > y
On Wednesday 15 October 2008 15:19:30 Fredrik Johansson wrote:
> Hi,
>
> Mpmath version 0.10 is now available from the website:
> http://code.google.com/p/mpmath/
>
> It can also be downloaded from the Python Package Index:
> http://pypi.python.org/pypi/mpmath/0.10
>
> Mpmath is a pure-Python libr
Should I resend them to the correct mailing list? Sorry for the mistake...
Riccardo
--~--~-~--~~~---~--~~
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 unsub
--~--~-~--~~~---~--~~
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 group, send email to [EMAIL PROTECTED]
For more options, visit this
--~--~-~--~~~---~--~~
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 group, send email to [EMAIL PROTECTED]
For more options, visit this
Fix for Add and Mul subs. It fixes Issue 801
--~--~-~--~~~---~--~~
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 group, send email to [E
On Sunday 29 June 2008 14:16:24 Kirill Smelkov wrote:
> Ok, after a bit of thinking, and good idea from Fredrik about
> "appropriate context" in repr description, here is what I propose:
>
> pprint(expr) -- nice looking 2D pretty-printed formula
>
> str(expr)-- if possible nice loocking 1D for
Hello,
I'm trying to implement copy and deepcopy for Matrix.
I have some doubt about copy: in python if you copy a list of list (e.g.
[[1,2,3],[1,2,3],[1,2,3]] ) each element of the list is copied by reference.
With numpy if you copy a matrix, elements are copied by value.
What behaviour shoul
> Thanks for the timings. The speedup by your patch was so obvious:),
> that I think in this case it was not necessary. This is more important
> in 5% speedups/slowdowns and similar.
>
> Ondrej
>
Hi Ondrej,
I posted them just because it was asked here:
http://groups.google.com/group/sympy-patche
On Thursday 26 June 2008 19:42:20 Kirill Smelkov wrote:
> On Sun, Jun 22, 2008 at 11:45:51AM +0200, Ondrej Certik wrote:
> > On 6/21/08, Riccardo Gori <[EMAIL PROTECTED]> wrote:
> > > On Saturday 21 June 2008 11:10:20 Ondrej Certik wrote:
> > > > On Fri, Ju
On Sunday 22 June 2008 12:47:38 physnut wrote:
> hello there, i'm only new to this project (and haven't started helping
> at all
> yet...) but wouldn't it be better to retain both versions and give
> them
> slightly different names (and explain there are two in docstrings)? I
> am
> presuming tha
On Friday 20 June 2008 14:30:29 Pearu Peterson wrote:
> On Jun 20, 11:42 am, "Ondrej Certik" <[EMAIL PROTECTED]> wrote:
> > >> Also, let's get rid of set_repr_level()? This is quite an important
> > >> change, so I'd like to hear opinions of others as well.
> > >
> > > We already had this discussi
Hello,
playing with matrices.py I found a bug in it:
we have two Matrix.expand(), one at line 244 one at line 823.
The first one returns a matrix with expanded elements.
The second one modify the matrix.
Which should we keep?
Riccardo
--~--~-~--~~~---~--~~
You
On Thursday 19 June 2008 12:50:20 Ondrej Certik wrote:
> Hi,
>
> On Thu, Jun 19, 2008 at 12:26 PM, Riccardo Gori <[EMAIL PROTECTED]>
wrote:
> > On Wednesday 18 June 2008 18:34:25 Ondrej Certik wrote:
> >> On Wed, Jun 18, 2008 at 6:06 PM, Riccardo Gori <[EMAIL
On Thursday 19 June 2008 12:50:20 Ondrej Certik wrote:
> Hi,
>
> On Thu, Jun 19, 2008 at 12:26 PM, Riccardo Gori <[EMAIL PROTECTED]>
wrote:
> > On Wednesday 18 June 2008 18:34:25 Ondrej Certik wrote:
> >> On Wed, Jun 18, 2008 at 6:06 PM, Riccardo Gori <[EMAIL
On Friday 20 June 2008 10:31:15 Ondrej Certik wrote:
> On Thu, Jun 19, 2008 at 3:20 PM, Riccardo Gori <[EMAIL PROTECTED]> wrote:
> > Hello,
> > I'm working at fixing issue 888. It is easy to fix but I don't understand
> > why in sympy/utilities/lambdify.py
Hello,
I'm working at fixing issue 888. It is easy to fix but I don't understand why
in sympy/utilities/lambdify.py I found that lambdastr function does use
__str__ for expr.
def lambdastr(args, expr):
"""
Returns a string that can be evaluated to a lambda function.
>>> from sympy
On Wednesday 18 June 2008 18:34:25 Ondrej Certik wrote:
> On Wed, Jun 18, 2008 at 6:06 PM, Riccardo Gori <[EMAIL PROTECTED]> wrote:
> > Hello,
> > how about adding this function to the Matrix class? I find it very
> > useful. Any objections?
>
> No o
l to sympy@googlegroups.com
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
-~--~~~~--~~--~--~---
# HG changeset patch
# User Riccardo Gori <[EMAIL PROTECTED]>
#
31 matches
Mail list logo