pparently
> there is a lot of duplicated logic. Can you open a bug report about this
> https://github.com/sympy/sympy/issues
>
> Aaron Meurer
>
> On Tue, Aug 11, 2020 at 9:23 AM Mikhael Myara > wrote:
>
>> apart_list() does not seem to support the « full=True »
> it's possible now, though it shouldn't be hard to do it manually with
> apart_list().
>
> Aaron Meurer
>
> On Mon, Aug 10, 2020 at 3:03 PM Mikhael Myara > wrote:
>
>> Thanks again Aaron,
>> here is what I did :
>>
>> import sympy as sp
>>
&g
plex numbers added.
>
> Aaron Meurer
>
> On Mon, Aug 10, 2020 at 1:53 PM Mikhael Myara > wrote:
>
>> Thanks a lot Aaron.
>> However : for my usage, an approximate root would be sufficient. Is there
>> a way to allow this in Sympy ?
>> Thanks again,
>>
polynomials to work like this, where if
> you change a coefficient it changes the behavior of it. That's because it's
> easy for a polynomial to have a rational root with one coefficient but not
> with another close coefficient, like in this case.
>
> Aaron Meurer
>
> On Mo
Dear all,
I don't know if my problem is with the knowledge of fractionnal
decomposition itself or with symPy's implementation.
I start with the following code :
import sympy as sp
sp.var('s')
Hstab = 1/(s**3+s**2+5*s+4)
Hstab = sp.apart(Hstab)
display(Hstab)
The result is :
[image:
ok I forgot variables declaration ...
Le vendredi 31 juillet 2020 23:06:01 UTC+2, Oscar a écrit :
>
> On Fri, 31 Jul 2020 at 21:06, Mikhael Myara
> > wrote:
> >
> > Le vendredi 31 juillet 2020 20:46:08 UTC+2, Oscar a écrit :
> >>
> >> On Fri, 31 Jul
etter job here,
> but this isn't an easy problem to solve.
>
> Aaron Meurer
>
> On Fri, Jul 31, 2020 at 12:46 PM Oscar Benjamin
> > wrote:
> >
> > On Fri, 31 Jul 2020 at 17:26, Mikhael Myara
> > > wrote:
> > >
> > > Thanks for your
Le vendredi 31 juillet 2020 20:46:08 UTC+2, Oscar a écrit :
>
> On Fri, 31 Jul 2020 at 17:26, Mikhael Myara
> > wrote:
> >
> > Thanks for your answer.
> >
> > I don’t do it « for sport » ;-) My example is a reduced example coming
> from a pr
orientations during classroom work.
Thanks again,
Mike
Le vendredi 31 juillet 2020 18:21:22 UTC+2, David Bailey a écrit :
>
> On 31/07/2020 15:59, Mikhael Myara wrote:
>
> Perhaps my example was not clear enough. I start with a fully symbolic
> expression. Then, I try two th
as Sympy itself found it from the fully symbolic version.
Le vendredi 31 juillet 2020 16:52:23 UTC+2, Oscar a écrit :
>
> On Sun, 26 Jul 2020 at 21:56, Mikhael Myara
> > wrote:
> >
> > And I obtain what follows. I am surprized that inserting values instead
> of
e-6 could be Rational(1, 10**6) or S(1)/10**6. It is best to avoid using
> floats if possible.
>
> Also simplify is not an in-place method so you need to use:
>H3 = H3.simplify()
> rather than
>H3.simplify()
>
> --
> Oscar
>
> On Sun, 26 Jul 2020 at 21:56, Mi
ource code of this pull-request [1]. It's not perfect, but it is a
> starting point; with that class Equation, you can apply the same
> mathematical operation to both sides simultaneously.
>
> [1] https://github.com/sympy/sympy/pull/19479
>
> Davide.
>
>
> Il giorno dom 26 lug
a simple code :
import sympy as sp
sp.var('a b c',nonzero=True)
eq = Eq(a*b,a*c)
display(eq)
display(eq.simplify())
Both display exhibit : ab = ac
I would have liked sympy to simply remove 'a', which is possible because I
mentioned 'a' is nonzero.
What's wrong ?
Best regards, Mike
--
13 matches
Mail list logo