Re: Issue 2482 in sympy: Stop bundling mpmath

2013-06-20 Thread sympy
Comment #48 on issue 2482 by skirpic...@gmail.com: Stop bundling mpmath http://code.google.com/p/sympy/issues/detail?id=2482 it does break with various earlier versions of mpmath We can add workarounds, as for any other library. So I think it should be quite easy to keep a copy of a working

Re: Issue 2019 in sympy: Add new (assumptions) fact about algebraic elements.

2013-06-20 Thread sympy
Updates: Status: Fixed Comment #3 on issue 2019 by skirpic...@gmail.com: Add new (assumptions) fact about algebraic elements. http://code.google.com/p/sympy/issues/detail?id=2019 (No comment was entered for this change.) -- You received this message because this project is

Re: Issue 3222 in sympy: Memory problems with the cache

2013-06-20 Thread sympy
Comment #10 on issue 3222 by supp...@mooncoder.com: Memory problems with the cache http://code.google.com/p/sympy/issues/detail?id=3222 For python 2.6+, there is: import sys sys.getsizeof(2) 12 sys.getsizeof(2.0) 16 sys.getsizeof([1,2,3]) 48 sys.getsizeof([1,2,3.0]) 48

Re: Issue 3861 in sympy: Change the default latex matrix type

2013-06-20 Thread sympy
Updates: Status: Started Comment #7 on issue 3861 by julien.r...@gmail.com: Change the default latex matrix type http://code.google.com/p/sympy/issues/detail?id=3861 https://github.com/sympy/sympy/pull/2195 -- You received this message because this project is configured to send all

Re: Issue 3222 in sympy: Memory problems with the cache

2013-06-20 Thread sympy
Comment #11 on issue 3222 by asmeu...@gmail.com: Memory problems with the cache http://code.google.com/p/sympy/issues/detail?id=3222 But does it work on objects? That's what's stored in the cache: SymPy objects. -- You received this message because this project is configured to send all

Re: Issue 2482 in sympy: Stop bundling mpmath

2013-06-20 Thread sympy
Comment #49 on issue 2482 by asmeu...@gmail.com: Stop bundling mpmath http://code.google.com/p/sympy/issues/detail?id=2482 What do you mean by mpmath is not a quite stable? -- You received this message because this project is configured to send all issue notifications to this address. You

Re: Issue 2482 in sympy: Stop bundling mpmath

2013-06-20 Thread sympy
Comment #50 on issue 2482 by skirpic...@gmail.com: Stop bundling mpmath http://code.google.com/p/sympy/issues/detail?id=2482 What do you mean by mpmath is not a quite stable? http://code.google.com/p/sympy/issues/detail?id=2482#c30 --8-- First, I do not 100% agree with the statement that

Re: Issue 3222 in sympy: Memory problems with the cache

2013-06-20 Thread sympy
Comment #12 on issue 3222 by supp...@mooncoder.com: Memory problems with the cache http://code.google.com/p/sympy/issues/detail?id=3222 Looks like it is a shallow sizeof. But even if it worked with objects, this is not the right way to go IMO. How much would you expect the cache to be

Re: Issue 2482 in sympy: Stop bundling mpmath

2013-06-20 Thread sympy
Comment #51 on issue 2482 by fredrik@gmail.com: Stop bundling mpmath http://code.google.com/p/sympy/issues/detail?id=2482 I can essentially guarantee that there will be no backwards incompatible *interface* changes in mpmath. As for bugs, it would obviously help to continue using

Re: Issue 2482 in sympy: Stop bundling mpmath

2013-06-20 Thread sympy
Comment #52 on issue 2482 by ondrej.c...@gmail.com: Stop bundling mpmath http://code.google.com/p/sympy/issues/detail?id=2482 Arguments against unbundling: * more complex installation *everywhere* * harder development and bug triaging in sympy: suddenly sympy git hash is not enough, you have

Re: [sympy] Diophantine Equation Module

2013-06-20 Thread Chris Smith
Dummy is insufficient to give a visually distinguished symbol as I indicated. Getting a results that looks like `{x: _t + _t + 2}`. But actually, if I'm not mistaken the coefficients will always be integers so at worst one might get {_t: _t + 2} where the dict key is the original Symbol and the

Re: [sympy] Diophantine Equation Module

2013-06-20 Thread Stefan Krastanov
Unnamed dummies print with some numeric index, right? Anyway, I very strongly feel that arguments about printing should be considered only when there are no other concerns: SymPy is not a typesetting library. The other concerns: - assumptions: If we were going to solve one simple equation, yes

Re: [sympy] Diophantine Equation Module

2013-06-20 Thread Aaron Meurer
Worth pointing out something here. We are talking about the internal API. The external, user-level API will be to just use solve, with integer Symbols. The user-level API needs to be able to handle any kind of parametrized solution, like solve(cos(x)) or solve(underdetermined_linear_system) and is

Re: [sympy] Use of CSR representation

2013-06-20 Thread Ondřej Čertík
Saurabh, On Wed, Jun 19, 2013 at 7:47 PM, Saurabh Jha saurabh.j...@gmail.com wrote: Hi, I(with the help of Chris) have recently merged in two functions that convert Dictionary of Keys(DOK) representation to Compressed Row Format(CSR) format and vice versa. [1]. Excellent, thanks! Since I

Re: [sympy] Use of CSR representation

2013-06-20 Thread someone
Hi, Since I don't actually know much about the applications of sparse matrices in domains like Computer Science, Physics, Mathematics etc., I wanted to discuss following issues with people-- 1. What are the applications of Sparse Matrices. Sparse matrices have many application in

[sympy] Testing the attributes for everything in SymPy

2013-06-20 Thread Seshagiri prabhu
Hello everyone, I was trying to fix an error which arises due to the missing attributes in MutableMatrix. Eg Matrix.eye(3).is_Piecewise fails but S(Matrix.eye(3)).is_Piecewise returns false which doesn't mean that S() turns it into an ImmutableMatrix. These are attributes which are

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

2013-06-20 Thread Chris Smith
One of the solutions which Christopher Smith suggested was to define a BasicBase class in basic.py and migrate these attributes to that class. My thinking here is to allow non-Basic entities (like Matrix) that may be encountered (e.g. in solve) to at least have the is_Foo attributes at least