Re: [sympy] ODE solver roadmap

2021-03-24 Thread Naveen Saisreenivas Thota
I checked some examples of laurent series expansion and the series function seems to give correct results. Some examples I tested where from - 1. http://courses.washington.edu/ph227814/228/W14/notes/Laurent.nb.pdf 2. https://piazza.com/class_profile/get_resource/iw9kxycftxk6su/iy5oz4r144i6rr 3.

Re: [sympy] computing cohomology groups and character tables (CGT project ideas)

2021-03-24 Thread Aniket Joshi
Hello Aaron, Thanks for your interest. I am giving some examples below: *1. The following example computes the fourth integral cohomology of the Mathieu group M24:* gap> GroupCohomology(MathieuGroup(24),4); [ 4, 3 ] *2. Similarly the following example computes the second integral homology of

Re: [sympy] ODE solver roadmap

2021-03-24 Thread Naveen Saisreenivas Thota
> Is the Laurent series actually needed? > I haven't read the paper but I looked at algorithm 11. Step 5 says > "compute the poles of a(x) and their orders". Is it not just asking > for the partial fraction expansion? I think Laurent Series is required in step 6 where we have to calculate the

Re: [sympy] ODE solver roadmap

2021-03-24 Thread Naveen Saisreenivas Thota
> 1. in case 1 r_1=1, in case 3 r_i is not relevant since it's a simple pole. So, do we add 1/(x - x_i) to y(x) when we encounter case 3? > 2. The definition of the valuation at infinity is mentioned in section 5.1 Yes, thank you. > 4. I think he just means using the method of undetermined

Re: [sympy] Precedence of negation

2021-03-24 Thread Aaron Meurer
Can you clarify what you mean by this? The precedence of operators in Python is determined by the language. See https://docs.python.org/3/reference/expressions.html#operator-precedence. Unary - has a higher precedence than binary + (or binary -). In SymPy, -x is represented as (-1)*x, but this

[sympy] Precedence of negation

2021-03-24 Thread Paul Royik
Is there any reason why precedence of -x equals precedence of Add? -x is (-1)*x -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To

Re: [sympy] Printing of rational functions with floats could be better

2021-03-24 Thread Aaron Meurer
Hi. In the future, please ask questions about issues on the issues themselves, so that people on the issue will be able to see the discussion about it. For this issue, I think it should be closed. I have given more details on the issue itself. It is a very old issue (from 2011), so perhaps it

[sympy] Printing of rational functions with floats could be better

2021-03-24 Thread JATIN JAIN
Hey Sympy, Reference issue #5521 . Please suggest me, this is problem in rational function or we should improve printing methods. Regards Jatin Jain -- You received this message because you are subscribed to the Google Groups "sympy" group. To

Re: [sympy] computing cohomology groups and character tables (CGT project ideas)

2021-03-24 Thread Aaron Meurer
Hi. Can you show an example of what this sort of thing looks like in GAP, so we can get an idea of what it might look like in SymPy? Aaron Meurer On Tue, Mar 23, 2021 at 9:50 PM Aniket Joshi wrote: > > Hello, > > I have several ideas in computational group theory that seem doable. I am >

Re: [sympy] ODE solver roadmap

2021-03-24 Thread Aaron Meurer
On Wed, Mar 17, 2021 at 7:54 AM nijso.be...@gmail.com wrote: > > Hi Oscar, > > I've started with a document: > https://github.com/sympy/sympy/wiki/ODE-solver-roadmap > > I think the first thing to do is build a kind of regression test using e.g. > the database of first order ODEs from the book

Re: [sympy] Re: Print floats without an exponent

2021-03-24 Thread Paul Royik
Thank you. On Wednesday, March 24, 2021 at 8:59:22 PM UTC+2 asme...@gmail.com wrote: > You can use the min and max flags to the printer function (like sstr() > or pprint() or latex()). They set the minimum and maximum values to > print as fixed point. You can use min=-float('inf'),

Re: [sympy] Re: Print floats without an exponent

2021-03-24 Thread Aaron Meurer
You can use the min and max flags to the printer function (like sstr() or pprint() or latex()). They set the minimum and maximum values to print as fixed point. You can use min=-float('inf'), max=float('inf') to always print every float as fixed point. These flags don't seem to be documented, but

Re: [sympy] ODE solver roadmap

2021-03-24 Thread Oscar Benjamin
On Tue, 23 Mar 2021 at 12:45, Naveen Saisreenivas Thota wrote: > > I have some doubts regarding Algorithm 11. Please help me understand them - ... > > Lastly, finding the coefficient vectors requires Laurent Series expansion. > I'm not sure if the series module can achieve this. There seems to

[sympy] Re: Print floats without an exponent

2021-03-24 Thread Chris Smith
Search online for "python print format number" >>> '{:f}'.format(5e-5) 0.50 On Wednesday, March 24, 2021 at 6:53:58 AM UTC-5 distan...@gmail.com wrote: > How can I print Float(0.5) as it is without exponent? > -- You received this message because you are subscribed to the

[sympy] Print floats without an exponent

2021-03-24 Thread Paul Royik
How can I print Float(0.5) as it is without exponent? -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To view this discussion

Re: [sympy] ODE solver roadmap

2021-03-24 Thread nijso.be...@gmail.com
1. in case 1 r_1=1, in case 3 r_i is not relevant since it's a simple pole. 2. The definition of the valuation at infinity is mentioned in section 5.1 3. yes, I think so 4. I think he just means using the method of undetermined coefficients here Some ideas are also