But the point is that diff will take derivatives with respect to
functions just fine (or at least it's supposed to, that bug
notwithstanding). And then the sum will never evaluate, because it
can't be evaluated.
Aaron Meurer
On Tue, Jun 4, 2013 at 10:32 PM, Jeremy wrote:
> Thanks! and yes z_i an
Hi,
Is anyone familiar with arithmetic of compressed sparse row(CSR) or
compressed sparse column(CSC) formats of sparse matrices? Can anyone
please suggest some references for the same?
-Saurabh
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsu
Thanks! and yes z_i and q_i would depend on i, but for the purposes of the
derivation they can just be symbols.
On Tuesday, June 4, 2013 11:23:49 PM UTC-4, Aaron Meurer wrote:
>
> I'd consider this to be a bug. I'm sure a call to doit() was added in
> there to make Integral(x, x).diff(x) retu
I'd consider this to be a bug. I'm sure a call to doit() was added in
there to make Integral(x, x).diff(x) return just x, but it's clearly
annoying.
I'm assuming you mean for q_i and z_i to mean that these things depend
on i. One way would be to actually use a function. Unfortunately,
there see
Hello,
I am a new sympy user and am trying to work out a derivation using IPython3
in a notebook.
I have an expression:
a_k = Sum(-q_i*z_i/k,(i,1,m)).
I want a_k.diff(z_i), however the Sum gets evaluated and I get m*(otherwise
correct stuff), and of course the sum goes away.
I thought tha
The gh-pages branch is updating :
https://github.com/sympy/planet.sympy.org/blob/gh-pages/index.html
This contains newer posts from some of the GSoC participants. I haven't
checked whether these are all the new posts though.
--
You received this message because you are subscribed to the Google G
And by the way, even the gh-pages branch is out of date.
Aaron Meurer
On Tue, Jun 4, 2013 at 7:44 PM, Aaron Meurer wrote:
> It still doesn't work.
>
> Aaron Meurer
>
> On Tue, Jun 4, 2013 at 11:54 AM, Aaron Meurer wrote:
>> I now get
>>
>> $dig planet.sympy.org +nostats +nocomments +nocmd
>>
>>
It still doesn't work.
Aaron Meurer
On Tue, Jun 4, 2013 at 11:54 AM, Aaron Meurer wrote:
> I now get
>
> $dig planet.sympy.org +nostats +nocomments +nocmd
>
> ; <<>> DiG 9.8.3-P1 <<>> planet.sympy.org +nostats +nocomments +nocmd
> ;; global options: +cmd
> ;planet.sympy.org. IN A
> planet.sympy.
Thanks for sharing this. Just one comment. I wouldn't let the mechanics way
prevent you all from doing this the "right" way. With the right way being
whatever a more general approach is. The mechanics module was designed from
a very narrow point of view in terms of the mathematics. Without thinking
And to be mean I will also write this down using the diffgeom module :)
Seriously though, while the diffgeom module uses a completely different
approach that is not compatible with the needs of the `mechanics` module
(on which we are focusing), having such a comparison will be useful to show
bad c
Here is a quick summary from today:
- probably scalar fields will be represented simply by SymPy expressions
where some of the symbols will have special meaning (the coordinates)
- probably vectors will be represented like in mechanics (one object, not
necessarily a sympy expression)
- using refe
Thanks.
Jason
moorepants.info
+01 530-601-9791
On Tue, Jun 4, 2013 at 12:13 PM, Aaron Meurer wrote:
> Just disable the test if the dependency is not installed. The easiest
> way to do that is to put the tests in their own file and set
> disabled=True when it isn't installed (see how the
> sym
Just disable the test if the dependency is not installed. The easiest
way to do that is to put the tests in their own file and set
disabled=True when it isn't installed (see how the
sympy/external/tests/test_numpy.py tests are written).
If there's a slower fallback when numpy is not installed, you
Ok. So for example, tests for a module in sympy/physics/mechanics should go
in sympy/external/tests if it includes a dependency?
Jason
moorepants.info
+01 530-601-9791
On Tue, Jun 4, 2013 at 9:43 AM, Ondřej Čertík wrote:
> On Tue, Jun 4, 2013 at 10:31 AM, Jason Moore wrote:
> > I'm curious wh
I now get
$dig planet.sympy.org +nostats +nocomments +nocmd
; <<>> DiG 9.8.3-P1 <<>> planet.sympy.org +nostats +nocomments +nocmd
;; global options: +cmd
;planet.sympy.org. IN A
planet.sympy.org. 14400 IN A 204.232.175.78
but planet.sympy.org and sympy.github.io/planet.sympy.org both still
point
On Tue, Jun 4, 2013 at 10:31 AM, Jason Moore wrote:
> I'm curious what the general practice in SymPy is for external packages. I
> want to include some code that depends on an external package (e.g. NumPy).
> I see the sympy.external.import_module function and have found various uses
> of it. SymP
On Tue, Jun 4, 2013 at 9:01 AM, Aaron Meurer wrote:
> I think the problem is with the DNS somehow. According to
> https://help.github.com/articles/my-custom-domain-isn-t-working#dns-errors,
> the dns should point to 204.232.175.78, but I get
>
> $dig planet.sympy.org +nostats +nocomments +nocmd
>
What I propose was to be used with your inheritance method. The else part
should also be changed to
```
# the number of non-zero elements is smaller than the subregion
smat = {}
for rk, ck in self._smat:
if rlo <= rk <= rhi and clo <= ck <= chi:
I'm curious what the general practice in SymPy is for external packages. I
want to include some code that depends on an external package (e.g. NumPy).
I see the sympy.external.import_module function and have found various uses
of it. SymPy doesn't seem to require any dependencies but there are a lo
I think I am getting it but just to be sure, is it intended to be a
fix that will go along with current method(based on inheritance of
methods) or a replacement.
On Jun 4, 9:05 pm, Chris Smith wrote:
> This is why it's better to work with smat -- you can load it up with the
> non-zero elements a
This is why it's better to work with smat -- you can load it up with the
non-zero elements and pass that to `_new`. Something like I just posted
would work, I think.
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and sto
Please don't go backwards. We know what to do and the fix is
straightforward, I think:
```
def submatrix(self, keys):
rlo, rhi, clo, chi = self.key2bounds(keys)
r, c = rhi - rlo, chi - clo
if r*c < len(self._smat):
# the subregion is smaller than the number
I think you can't avoid checking all the columns of the concerned row
if you want to return a particular row, because even if there is only
one non-zero element in that row, we would still have to insert all
zeroes in it.
like in [0, 0, 0, 1, ,0,0, 0, 0]
we would have to insert all these zeroes, a
> What if I have a billion by billion matrix with a single nonzero element?
>
> Aaron Meurer
I think you are right. In that case, I will just make the
implementation that was in an earlier commit in my current PR with
lists converted to matrices.
-Saurabh Jha
--
You received this message because
What if I have a billion by billion matrix with a single nonzero element?
Aaron Meurer
On Tue, Jun 4, 2013 at 10:16 AM, Saurabh Jha wrote:
>> Isn't it more efficient if there are many zeros in a given row?
>
> As I said before, there was a bug in it. They just returned the row of
> zeroes or vec
> Isn't it more efficient if there are many zeros in a given row?
As I said before, there was a bug in it. They just returned the row of
zeroes or vector of zeroes every time I call them, even if there were
non-zero element in the rows and columns in question. Furthermore, as
chris pointed out in
Isn't it more efficient if there are many zeros in a given row?
Aaron Meurer
On Tue, Jun 4, 2013 at 2:01 AM, Saurabh Jha wrote:
> Can anyone please explain me why we have the different implementations
> for row and col in sparse class. Can't we just reuse these methods
> from the dense class? Is
I think the problem is with the DNS somehow. According to
https://help.github.com/articles/my-custom-domain-isn-t-working#dns-errors,
the dns should point to 204.232.175.78, but I get
$dig planet.sympy.org +nostats +nocomments +nocmd
; <<>> DiG 9.8.3-P1 <<>> planet.sympy.org +nostats +nocomments
If I have time at the end of my project, I will try to do so!
On Sunday, 2 June 2013 02:08:27 UTC+1, Aaron Meurer wrote:
>
> I agree we should do this, though I'm not sure if the sprints are the
> best place for it since few of us who will be there are familiar with
> that part of the code. How
Hi,
On 4 June 2013 01:55, Aaron Meurer wrote:
> At http://docs.sympy.org/tutorial/tutorial/simplification.html at the
> bottom, I added a little example to show how to use some of the
> polynomial simplification functions like cancel() and apart(). But I
> can't think of any good examples to sh
Can anyone please explain me why we have the different implementations
for row and col in sparse class. Can't we just reuse these methods
from the dense class? Is there the exploitation of sparsity in these
methods?
-Saurabh
--
You received this message because you are subscribed to the Google G
31 matches
Mail list logo