On Mon, May 18, 2009 at 10:39 AM, Ondrej Certik wrote:
> On Mon, May 18, 2009 at 8:06 AM, Priit Laes wrote:
>>
>> Ühel kenal päeval, P, 2009-05-17 kell 22:49, kirjutas Ondrej Certik:
>>> Hi,
>>>
>>> solve(whatever) return a list of dicts. You can find lots of examples here:
>>
>> It should also
On Mon, May 18, 2009 at 8:06 AM, Priit Laes wrote:
>
> Ühel kenal päeval, P, 2009-05-17 kell 22:49, kirjutas Ondrej Certik:
>> Hi,
>>
>> solve(whatever) return a list of dicts. You can find lots of examples here:
>
> It should also handle lists with infinite amount of solutions:
>
> Currently we
On Mon, May 18, 2009 at 10:19 AM, Vinzent Steinberg
wrote:
>
> On May 18, 2:26 pm, Fabian Pedregosa wrote:
>> Ondrej Certik wrote:
> [...]
>> > So here are some particular examples using sympy syntax:
>>
>> solve(Eq(x**2, 1), x)
>> > [{x: 1}, {x: -1}]
>>
>> don't see the benefit over [1,-1]
On May 18, 2:26 pm, Fabian Pedregosa wrote:
> Ondrej Certik wrote:
[...]
> > So here are some particular examples using sympy syntax:
>
> solve(Eq(x**2, 1), x)
> > [{x: 1}, {x: -1}]
>
> don't see the benefit over [1,-1]. It is clear that it is relative to x
> since you passed that argument t
Hello,
I am trying to integrate functions of the form (polynomial in x and y)
*DiracDelta(x-x0)*DiracDelta(y-y0).
Sometimes it works:
In [161]: sympy.__version__
Out[161]: '0.6.4'
In [162]: sympy.integrate((1 -4*x + x*y -4.0*y )*DiracDelta(x)
*DiracDelta(-1 + y), (x, 0, 1), (y,0,1))
Out[162]: -
Ühel kenal päeval, P, 2009-05-17 kell 22:49, kirjutas Ondrej Certik:
> Hi,
>
> solve(whatever) return a list of dicts. You can find lots of examples here:
It should also handle lists with infinite amount of solutions:
Currently we miss some of the solutions:
In [30]: solve(cos(pi*x), x)
Out[30
Ondrej Certik wrote:
> Hi,
>
> we were just discussing with Aaron on #sympy IRC what should the
> solve() and dsolve() return. Here is what Mathematica is doing and I
> like that a lot:
>
> solve(whatever) return a list of dicts.
What are the benefits of this instead of simply return a list wi