Re: Issue 3741 in sympy: nargs should return tuple in all cases

2013-06-21 Thread sympy
Comment #1 on issue 3741 by skirpic...@gmail.com: nargs should return tuple in all cases http://code.google.com/p/sympy/issues/detail?id=3741 https://github.com/sympy/sympy/pull/2201 -- You received this message because this project is configured to send all issue notifications to this

Re: Issue 3171 in sympy: direction doesn't affect some limits

2013-06-21 Thread sympy
Comment #3 on issue 3171 by skirpic...@gmail.com: direction doesn't affect some limits http://code.google.com/p/sympy/issues/detail?id=3171 Now it works in master: In [3]: limit(1/(x-2),x,2,dir='-') Out[3]: -∞ -- You received this message because this project is configured to send all

Re: Issue 3171 in sympy: direction doesn't affect some limits

2013-06-21 Thread sympy
Updates: Status: Fixed Comment #4 on issue 3171 by skirpic...@gmail.com: direction doesn't affect some limits http://code.google.com/p/sympy/issues/detail?id=3171 Fixed in this commit: commit 68c851d171ad3e89ac16b00ac272f36e7f61b3b8 Author: Sai Nikhil tsnleg...@gmail.com Date: Thu

Re: Issue 3898 in sympy: sift

2013-06-21 Thread sympy
Comment #1 on issue 3898 by smi...@gmail.com: sift http://code.google.com/p/sympy/issues/detail?id=3898 sift comsumes and stores the entire iterable: m = defaultdict(list) for i in seq: m[keyfunc(i)].append(i) return m -- You received this message because this project is

Re: Issue 2482 in sympy: Stop bundling mpmath

2013-06-21 Thread sympy
Comment #53 on issue 2482 by ondrej.c...@gmail.com: Stop bundling mpmath http://code.google.com/p/sympy/issues/detail?id=2482 P.S. Just discovered this post: http://vagabond.github.io/2013/06/21/z_packagers-dont-know-best/ I am posting it here to lighten up the discussion a bit :), but the

[sympy] Re: Use of CSR representation

2013-06-21 Thread Saurabh Jha
Hi, I have implemented a function for the product of a dense vector and sparse matrix, please see the last commit of [1]. I have tried to shot two things-- 1. This is the first function in which I have tried to add support of domains, I am not sure if it is done the right way. 2. I have

Re: [sympy] Testing the attributes for everything in SymPy

2013-06-21 Thread Matthew Rocklin
Related topic. Why does Basic have attributes like is_Rational? Shouldn't that be under Expr? There has also been talk of not using these in favor of isinstance(obj, obj.func) On Fri, Jun 21, 2013 at 12:24 AM, Chris Smith smi...@gmail.com wrote: One of the solutions which Christopher Smith

[sympy] Expanding products of sqrts

2013-06-21 Thread Anton Loukianov
Hello, How do I expand products of square roots like this? import sympy as sp A1,A1 = sp.symbols('A1,A2', real=True, constant=True) coef1 = sp.sqrt(1/(A1**2 + A2**2 + sp.sqrt(A1**4 - A1**2*A2**2 + A2**4))) coef2 = sp.sqrt(1/(A1**2 + A2**2 - sp.sqrt(A1**4 - A1**2*A2**2 + A2**4)))

Re: [sympy] Expanding products of sqrts

2013-06-21 Thread Aaron Meurer
The issue is that sqrt(x)*sqrt(y) does not equal sqrt(x*y), unless x and y are positive (see http://docs.sympy.org/tutorial/tutorial/simplification.html#powers). Unfortunately, your assumptions that A1 and A2 are real is not enough for SymPy to deduce that the things under the square root are

[sympy] Arithmetic expressions (just numbers) to latex without evaluating them

2013-06-21 Thread peibol
Hi all I've been searching just to check if what I want to do is feasible with sympy. The thing is that I have an expression ('a/b+c/d') for which I want to give several sets of values and for each set render the latex without evaluating it. I don't know how to avoid automatic evaluation and

Re: [sympy] Arithmetic expressions (just numbers) to latex without evaluating them

2013-06-21 Thread Aaron Meurer
On Fri, Jun 21, 2013 at 5:48 PM, peibol pabe...@gmail.com wrote: Hi all I've been searching just to check if what I want to do is feasible with sympy. The thing is that I have an expression ('a/b+c/d') for which I want to give several sets of values and for each set render the latex without