[sympy] Re: Google Season of Docs 2021

2021-02-17 Thread Aaron Meurer
. Aaron Meurer On Tue, Feb 9, 2021 at 12:32 PM Aaron Meurer wrote: > > Google has announced Google Season of Docs (GSoD) again for 2021. GSoD is a > program that pairs technical writers with open source projects. We have > participated in the past two years. > > The GSoD program h

Re: [sympy] GSoC Organization Applications Open

2021-02-17 Thread Aaron Meurer
On Wed, Feb 17, 2021 at 4:48 PM Oscar Benjamin wrote: > On Wed, 17 Feb 2021 at 23:24, Aaron Meurer wrote: > > > > On Wed, Feb 17, 2021 at 3:39 PM Oscar Benjamin > > wrote: > > > > > > On Wed, 17 Feb 2021 at 22:28, Aaron Meurer wrote: > > > &

Re: [sympy] GSoC Organization Applications Open

2021-02-17 Thread Aaron Meurer
On Wed, Feb 17, 2021 at 3:39 PM Oscar Benjamin wrote: > > On Wed, 17 Feb 2021 at 22:28, Aaron Meurer wrote: > > > > I have updated our application for this year > > https://github.com/sympy/sympy/wiki/GSoC-2021-Organization-Application. > > If anyone has any comme

Re: [sympy] GSoC Idea Discussion

2021-02-17 Thread Aaron Meurer
ers will have to provide updates on the state of the series module as I haven't followed the recent developments there too closely. Aaron Meurer > > > sympy.series - There were a few pointers here that had me interested. First > was the rs_series expansion. I could only find

Re: [sympy] GSoC Organization Applications Open

2021-02-17 Thread Aaron Meurer
-Instructions accordingly. If anyone has any comments on that, feel free to let me know (or just edit them). Aaron Meurer On Tue, Feb 16, 2021 at 8:08 AM mohit balwani wrote: > > For me also it is showing html > > On Tue, Feb 16, 2021, 8:14 PM Gagandeep Singh (B17CS021) > wrote: >>

Re: [sympy] GSoC Organization Applications Open

2021-02-12 Thread Aaron Meurer
in mentoring to please add your name to list https://github.com/sympy/sympy/wiki/GSoC-Ideas#potential-mentors Aaron Meurer On Fri, Jan 29, 2021 at 5:55 PM Oscar Benjamin wrote: > > On Fri, 29 Jan 2021 at 23:32, Aaron Meurer wrote: > > > > On Fri, Jan 29, 2021 at 4:20 PM Oscar B

Re: [sympy] [SymPy] Is this a bug or a feature?

2021-02-11 Thread Aaron Meurer
n the function is (strictly) monotonic. Except I don't know if >> SymPy can really answer either of these questions right now. So this might >> have to remain only a theoretical idea for the time being. >> >> Aaron Meurer >> >> >>> >>> Oscar >>

Re: [sympy] indexed symbols

2021-02-11 Thread Aaron Meurer
;a%d" % i) for i in range(n)] [a0, a1, a2, a3, a4, a5, a6, a7, a8, a9] Aaron Meurer On Thu, Feb 11, 2021 at 5:22 AM Oscar Benjamin wrote: > > On Thu, 11 Feb 2021 at 11:19, Thomas Ligon wrote: > > > > "The solution to this in Python is to use lists or tuples or so

Re: [sympy] Re: Exceptions? Is it possible to catch SyntaxError event?

2021-02-11 Thread Aaron Meurer
*2+x*cos(x)**2') expand(expr) This will raise SympifyError if there is a syntax error, as you noted. You can also use parse_expr() if you want more low-level control over how strings are parsed. Aaron Meurer On Thu, Feb 11, 2021 at 3:50 AM Michał Pawłowski wrote: > > Ok, I've

Re: [sympy] HowTo Get LaTeX code of original formula (without expand/simplify)?

2021-02-11 Thread Aaron Meurer
ve if you call some other function or combine with some other expression. Aaron Meurer On Thu, Feb 11, 2021 at 11:09 AM Michał Pawłowski < michal.bozydar.pawlow...@gmail.com> wrote: > Hi. > > I'd like to get LaTeX code of formula, but without simplification or > expanding. I.E: &

Re: [sympy] [SymPy] Is this a bug or a feature?

2021-02-10 Thread Aaron Meurer
On Wed, Feb 10, 2021 at 1:44 PM Oscar Benjamin wrote: > On Wed, 10 Feb 2021 at 20:24, Aaron Meurer wrote: > > > > On Wed, Feb 10, 2021 at 6:47 AM David Bailey wrote: > >> > >> On 10/02/2021 00:53, Oscar Benjamin wrote: > >> > >> On Tue, 9 Feb

Re: [sympy] [SymPy] Is this a bug or a feature?

2021-02-10 Thread Aaron Meurer
l? One option is a Piecewise, but then things get hairy if you start doing other operations. Maybe a MultiplySides does actually make sense for this. Aaron Meurer David > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubs

Re: [sympy] Google Season of Docs 2021

2021-02-09 Thread Aaron Meurer
rite those. A technical writer could then improve that documentation, but the content itself for new documentation has to come from someone who has expert knowledge on the thing being documented. Aaron Meurer > > Oscar > > On Tue, 9 Feb 2021 at 19:32, Aaron Meurer wrote: > > > >

Re: [sympy] Re: Google Season of Docs 2021

2021-02-09 Thread Aaron Meurer
com/sympy/sympy/wiki/GSoC-Student-Instructions). Aaron Meurer On Tue, Feb 9, 2021 at 12:38 PM Mohit Shah wrote: > Hii Aaron. I was contributing for 1 month to apply in google season of > docs, but in the end, I get to know that the guys who already have > experience in technical writ

[sympy] Google Season of Docs 2021

2021-02-09 Thread Aaron Meurer
people think is the most important one? If you are a technical writer who is interested in working with us, we would like to hear your feedback too. The rules for organizations are at https://developers.google.com/season-of-docs/docs/admin-guide. Aaron Meurer -- You received this message because you

Re: [sympy] Doubt regarding GSoC ideas

2021-02-06 Thread Aaron Meurer
suggest writing to the list about it to discuss what the updated status of it is. Some projects should be removed, and others are only partially completed so they are still relevant. Aaron Meurer On Sat, Feb 6, 2021 at 1:06 AM Sudeep Sidhu wrote: > Hi, > > I have a doubt regarding GSoC ideas

Re: [sympy] [SymPy] Is this a bug or a feature?

2021-02-06 Thread Aaron Meurer
I agree it should be an error. SymPy is getting better at checking types of inputs, but in general, you can expect a garbage in, garbage out behavior. Aaron Meurer On Sat, Feb 6, 2021 at 5:07 PM David Bailey wrote: > Dear Group, > > While thinking about Jonathon's question, I ca

[sympy] NumFOCUS small development grants round 1 2021

2021-02-05 Thread Aaron Meurer
flights on behalf of project leaders to attend a workshop, per diems for travel days) Aaron Meurer -- 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 symp

Re: [sympy] We need some community input on the desired behavior of an equation class...

2021-02-04 Thread Aaron Meurer
he two sides > differently (unless explicitly requested by "rhs" or "lhs" stuff, and > probably as argument to subs()?). I agree with this. Incidentally, there is an Assignment class in SymPy, in the codegen module. It is designed specifically around generating code, so it m

Re: [sympy] Unable to see my message

2021-02-03 Thread Aaron Meurer
ges should appear immediately. Aaron Meurer On Wed, Feb 3, 2021 at 8:04 AM mayank gaur wrote: > > It has been 2 days and my message is still not available in the group. > Moderation is for the first time messages only and I have 2-3 messages in the > past. Can you please tell me w

Re: [sympy] Proposal to have a separate mailing list for GSoC applicants

2021-02-01 Thread Aaron Meurer
I do think we should try to do something about it. Aaron Meurer On Mon, Feb 1, 2021 at 8:55 AM David Bailey wrote: > > On 01/02/2021 14:53, Faisal Riyaz wrote: > > Hi all, > > SymPy mailing list receives many introductory emails from prospective GSoC > applicants. This m

Re: [sympy] GSoC Organization Applications Open

2021-01-29 Thread Aaron Meurer
ome algorithms, which presumably still aren't implemented but would help. I think it's useful to list explicit algorithms that can be implemented. Listing specific algorithms and specific papers helps to make the more mathematically sophisticated ideas more approachable and less open end

[sympy] GSoC Organization Applications Open

2021-01-29 Thread Aaron Meurer
there, add it too (if you are unsure about the idea, you can discuss it here first). I am also in the process of updating the org application itself at https://github.com/sympy/sympy/wiki/GSoC-2021-Organization-Application. Comments and edits on this are welcome too. Aaron Meurer -- You received

Re: [sympy] Re: SEPs for SymPy (SymPy Enhancement Proposals)

2021-01-27 Thread Aaron Meurer
I have started a pull request for SymPEP 1. https://github.com/sympy/SymPEPs/pull/2. Feedback is encouraged. This is still a draft, so everything I've written there can still be changed. I've based it largely on the NEP (NumPy Enhancement Proposals) process, with some changes. Aaron

Re: [sympy] Re: SEPs for SymPy (SymPy Enhancement Proposals)

2021-01-22 Thread Aaron Meurer
I started a repository for SymPEPs https://github.com/sympy/SymPEPs There's nothing there yet. I will start a discussion on the repo either later today or early next week to discuss the SymPEP process and drafting the SymPEP format (unless someone else beats me to it). Aaron Meurer On Mon

Re: [sympy] physics.units - dimensional analysis/non-dimensionalization addition

2021-01-21 Thread Aaron Meurer
The people who work more closely with the units module should also weigh in, but this looks like it would be useful. I would suggest opening an issue to discuss this. Aaron Meurer On Thu, Jan 21, 2021 at 1:18 PM Christoph Heindl wrote: > > Hey! > > I have developed a prototype Py

Re: [sympy] Query about tkinter

2021-01-21 Thread Aaron Meurer
My general recommendation for these packaging problems is to use Anaconda/conda-forge, especially if you are on Windows. Aaron Meurer On Thu, Jan 21, 2021 at 10:40 AM David Bailey wrote: > > On 20/01/2021 13:54, Oscar Benjamin wrote: > > I think David is using Windows so that apt

Re: [sympy] We need some community input on the desired behavior of an equation class...

2021-01-20 Thread Aaron Meurer
rough equations? The ability to "pass through" or dispatch on arbitrary functions is a larger question that has come up in a lot of other places in SymPy. I don't know if we have a solution for it yet, but it is something we'd like to solve. Aaron Meurer > > How i

Re: [sympy] We need some community input on the desired behavior of an equation class...

2021-01-19 Thread Aaron Meurer
ting x eq2 = eq2.subs(eq1) # This produces Eqn((4 - y)*y, 4) solve(eq2) Isolation is also maybe something that could be easier too. Should solve(Eqn()) always return another Eqn (or list of Eqn)? One could also consider how one would solve eq2 by hand. Should there be a method to split products int

Re: [sympy] Re: Useful GSoC Idea

2021-01-18 Thread Aaron Meurer
, in which case, we may need to look into using RUBI again. Aaron Meurer > > On Saturday, January 16, 2021 at 1:45:37 PM UTC+9 cheshta...@gmail.com wrote: >> >> Yes, I've already started that, I'll keep you posted. >> >> On Sat, Jan 16, 2021 at 3:28 AM Aar

Re: [sympy] Re: Useful GSoC Idea

2021-01-15 Thread Aaron Meurer
The best place to start is to familiarize yourself with SymPy and the codebase. The best way to do this is to start to make pull requests fixing simple things. Aaron Meurer On Fri, Jan 15, 2021 at 2:05 PM cheshta babbar wrote: > > Hi, > > I really like the idea and am up for taking

Re: [sympy] Python and Laplace transforms of an IVP

2021-01-15 Thread Aaron Meurer
to add an ODE solver that uses them, so that what you are trying to do would be equivalent to dsolve(hint='laplace'). Aaron Meurer On Thu, Jan 14, 2021 at 3:14 AM Oscar Benjamin wrote: > > As I said I'm not familiar with Laplace transform capabilities of > sympy myself so

[sympy] SymPy on LWN and Hacker News front page

2021-01-08 Thread Aaron Meurer
For those who didn't see, there was a nice article on LWN about SymPy a few weeks ago https://lwn.net/Articles/840986/ This article is on the front page of Hacker News right now https://news.ycombinator.com/item?id=25683420 Aaron Meurer -- You received this message because you are subsc

Re: [sympy] question about solve, solveset, and nonlinsolve

2021-01-06 Thread Aaron Meurer
one, which I think is just it telling you that solveset doesn't support systems of equations yet). So it would be useful to have an example that reproduces them. Aaron Meurer On Wed, Jan 6, 2021 at 10:20 AM Thomas Ligon wrote: > > I am trying to solve some algebraic (polynomial) equati

Re: [sympy] question about Rational

2021-01-06 Thread Aaron Meurer
}) 5.00 If you want an exact number in your answer then all your numeric constants should be rational numbers rather than floats. Aaron Meurer On Wed, Jan 6, 2021 at 10:16 AM Thomas Ligon wrote: > > If I use 1/3 in an expression, I get 0.333..., but I know that I can write >

Re: [sympy] lambdify of an empty matrix

2021-01-06 Thread Aaron Meurer
tively old version of SymPy. The newest version is 1.7.1 (although this issue still persists even in the git version). Aaron Meurer On Wed, Jan 6, 2021 at 4:00 AM Felipe Bordeu wrote: > > Hello everyone, > > I'm trying to use lambdify on some matrix expression, but my problem

Re: [sympy] Problem with sqrt(-1)

2021-01-04 Thread Aaron Meurer
ween the number and letter (variable names cannot start with a number, and there's no implicit multiplication), you won't run into trouble. If you *really* wanted to, you could write a processor for parse_expr that failed on complex number literals. That would require passing a string i

Re: [sympy] Problem with sqrt(-1)

2021-01-04 Thread Aaron Meurer
ike 101j would be truncated to double precision. >>> 101j 1e+18j >>> 1000001*I 101*I Aaron Meurer On Mon, Jan 4, 2021 at 2:30 PM Thomas Ligon wrote: > > Hello David, > indeed, when I enter print(sqrt(-1)), I g

[sympy] Auto merge

2020-12-17 Thread Aaron Meurer
, but I think if the tests don't pass, the branch still automatically merges if a new commit comes in that passes the tests, unless you cancel the auto merge. If that is how it works, that's not ideal (IMO, new commits should be reviewed before blindly merging, even if they pass tests).

Re: [sympy] precision when printing with ccode

2020-12-16 Thread Aaron Meurer
s is even worse if you explicitly evalf floats to lower than the default 15 digits. If this worked correctly, you would be able to work around your issue by simply calling evalf(8) on your expression before calling ccode(). Aaron Meurer On Wed, Dec 16, 2020 at 2:21 PM jesse@gmail.com

Re: [sympy] precision when printing with ccode

2020-12-16 Thread Aaron Meurer
This looks like a bug. The precision parameter is being ignored. Aaron Meurer On Wed, Dec 16, 2020 at 11:51 AM jesse@gmail.com wrote: > > Hi - > > Is it possible to set the precision of printed floating point values when > using ccode, cxxcode, etc? Using the 'precision

Re: [sympy] Migration from Travis to Github Actions is now complete-ish

2020-12-11 Thread Aaron Meurer
suite. One downside to Actions compared to Travis that people should be aware of is that the logs for Actions builds are removed after 90 days. Thus, you shouldn't link to a GitHub actions log in an issue. If you need to reference a build log, you should copy the text of the log into the relevant iss

[sympy] GitHub discussions

2020-12-08 Thread Aaron Meurer
GitHub has just added a new discussions feature. I have enabled discussions on the SymPy repo https://github.com/sympy/sympy/discussions. Let's see how it works. Aaron Meurer -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubs

Re: [sympy] SymPy 1.7 released

2020-11-30 Thread Aaron Meurer
It may interest some people here to see that SymPy is on Hacker News again https://news.ycombinator.com/item?id=25254648 (currently on the second page). There are quite a few interesting comments there about different ways that people are using SymPy. Aaron Meurer On Sun, Nov 29, 2020 at 7:25 AM

Re: [sympy] workflow for continuing an existing PR

2020-11-24 Thread Aaron Meurer
es the old one. The important thing is to leave the original commits intact so that the authorship stays (only push new commits, don't squash your commits into the other person's). Aaron Meurer On Tue, Nov 24, 2020 at 5:07 PM Stefan W wrote: > > Hi, > > I have a question: i

Re: [sympy] Re: Substitutions within calculus

2020-11-18 Thread Aaron Meurer
d a separate function or if subs() itself should just do this. OTOH that might break existing code, since currently subs works like >>> diff(f(x), x).subs(f(x), y) Derivative(y, x) which is intended behavior since it allows using subs iteratively to do changes of variables, or things

Re: [sympy] Substitutions within calculus

2020-11-18 Thread Aaron Meurer
> Likewise, is it possible to make a change of variable within an integral > without simply letting integrate loose on it? Integral.transform should do what you're looking for here. Aaron Meurer -- You received this message because you are subscribed to the Google Groups "

Re: [sympy] returning symbol in a function

2020-11-06 Thread Aaron Meurer
eady have them defined you can just use parse_expr('Round1Bar', locals()) Aaron Meurer On Fri, Nov 6, 2020 at 3:54 PM Thomas Ligon wrote: > > Hi Aaron, > this remark really throws me off. I certainly didn't think that Round was a > shortcut for anything. Here is

Re: [sympy] returning symbol in a function

2020-11-06 Thread Aaron Meurer
I think Round as a shortcut for putting parentheses around something is not implemented in the LaTeX printer. I've never seen that before, but if it is common, we can add it. Otherwise, if you need custom LaTeX in your symbol names you should just use it directly in the symbol name. Aaron M

Re: [sympy] Looking for a way to continue cse with prior set of subexpressions

2020-11-04 Thread Aaron Meurer
this can be done at a more internal point in the cse algorithm to make it more robust. Aaron Meurer > > moorepants.info > +01 530-601-9791 > > > On Wed, Nov 4, 2020 at 9:47 PM Aaron Meurer wrote: >> >> I'm not clear, what work would it have to do twice? >>

Re: [sympy] Looking for a way to continue cse with prior set of subexpressions

2020-11-04 Thread Aaron Meurer
I'm not clear, what work would it have to do twice? Aaron Meurer On Wed, Nov 4, 2020 at 1:45 PM Jason Moore wrote: > > I could do that, but for very long expressions this means cse has to do the > work twice. This can be time consuming for long expressions. > > Jason >

Re: [sympy] returning symbol in a function

2020-11-04 Thread Aaron Meurer
). Symbols are completely defined by name, so if two symbols have the same name, they will be equal. Aaron Meurer On Wed, Nov 4, 2020 at 2:24 AM Thomas Ligon wrote: > > Now I see a solution: forget the function and create the expression exp using > string manipulation and exec, somethi

Re: [sympy] Looking for a way to continue cse with prior set of subexpressions

2020-11-04 Thread Aaron Meurer
Is it just a question of replacing the old cse symbols in the new expression before calling cse, then merging the results? I think that wouldn't be hard, though probably complicated enough that direct support could be added. Aaron Meurer On Wed, Nov 4, 2020 at 11:40 AM Jason Moore

Re: [sympy] returning symbol in a function

2020-11-03 Thread Aaron Meurer
g in numbers are subscripted, so it renders it as a Sym_1 in LaTeX. If you don't want the 1 to be subscripted, you can use something like Symbol("{Sym1}"). Aaron Meurer On Tue, Nov 3, 2020 at 9:42 AM Thomas Ligon wrote: > > The following code is not working as I expecte

Re: [sympy] sympy python and graphics

2020-11-03 Thread Aaron Meurer
ptote looks like it produces nice graphics and I agree a Python wrapper would be useful. Aaron Meurer On Tue, Nov 3, 2020 at 8:52 AM Alan Bromborsky wrote: > One thing I think is lacking in python is the ability to generate report > quality graphics directly. The best available is matpl

Re: [sympy] Personal Introduction (Alec Korotney)

2020-10-30 Thread Aaron Meurer
notation for mathematical symbols as I have used it on > most of my homework assignments for the past year (and have used it to write > group papers in a mathematical research class). SymPy covers a lot of mathematics, including a lot that you probably haven't learned yet. I would s

Re: [sympy] AST to sympy question

2020-10-29 Thread Aaron Meurer
would see regardless of how you create the expression, so it's worth looking into. Aaron Meurer On Thu, Oct 29, 2020 at 4:51 AM Uri David Akavia wrote: > > Hi Aaron, > > Sorry, I am using sympy.parsing.sympy_parser.parse_expr() after replacing & > and | and doing a few

Re: [sympy] AST to sympy question

2020-10-28 Thread Aaron Meurer
ibrary/ast.html#ast.NodeVisitor). Another idea: if A1, B1, and so on are what you want to use as your symbol names, you can replace "AND" with "&" and "OR" with "|" and the string will parse directly as a SymPy expression (using parse_expr() or sympify()

Re: [sympy] Fwd: [GSoC Mentors] Announcing GSoC 2021 with a few changes

2020-10-27 Thread Aaron Meurer
something they would want to apply for. As an aside, it's unfortunate that this was forwarded to the list instead of copy-pasted. The responses to this list are now lost in the responses to the original mentor list in my email. Aaron Meurer > > - > Amit > > -- > You received

Re: [sympy] Fwd: [GSoC Mentors] Announcing GSoC 2021 with a few changes

2020-10-26 Thread Aaron Meurer
rrier of who can apply. Aaron Meurer On Mon, Oct 26, 2020 at 1:08 PM Jason Moore wrote: > > Looks like the biggest changes in GSoC over the last decade. FYI > > Jason > moorepants.info > +01 530-601-9791 > > > -- Forwarded message - > From: 'stt

Re: [sympy] Re: SEPs for SymPy (SymPy Enhancement Proposals)

2020-10-12 Thread Aaron Meurer
ch case that will be easier if they are in the SymPy repo. In either case, I would suggest for the discussions for any SymPEP to take place on issues or pull requests on the respective repo. Once we decide this, we can start with an actual start for SymPEP 1 and the discussion of what it should look

Re: [sympy] SymPy subs().evalf() vs evalf(subs=dict(...))

2020-10-12 Thread Aaron Meurer
>>> Float('2.4').evalf(50) 2.3999111821580299874767661094665527344 Aaron Meurer On Mon, Oct 12, 2020 at 8:03 AM Davide Sandona' wrote: > > Hello Oscar, > > why is the float approximation of Rational('2.4') more precise of > Float('2.4')

Re: [sympy] SymPy subs().evalf() vs evalf(subs=dict(...))

2020-10-12 Thread Aaron Meurer
gt;> (x + y + z).evalf(subs={x: 1, y: 1e-100, z: -1}) 1.00e-100 Aaron Meurer On Mon, Oct 12, 2020 at 5:44 AM s5s wrote: > > Hi, > > First, apologies if this has been discussed before. I'm browsing through the > tutorial and encountered what appears to be an in

Re: [sympy] powers in the mathematica parser and *^

2020-10-12 Thread Aaron Meurer
It's probably not supported, but it could be added. The Mathematica parser is still relatively rudimentary, so a lot of syntax features of Mathematica aren't supported. Aaron Meurer On Mon, Oct 12, 2020 at 9:04 AM Roberto wrote: > > from sympy.parsing.mathematica import mathe

[sympy] Hacktoberfest

2020-10-09 Thread Aaron Meurer
ere if you have any questions. Aaron Meurer -- 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 on

Re: [sympy] latex parse "e"

2020-10-08 Thread Aaron Meurer
I would consider this to be a bug in the LaTeX parser. Can you open an issue for it? Currently, the latex parser doesn't have very many options. We are hoping to improve it. For now, though, you can work around this by manually doing result = result.subs(Symbol('e'), E). Aaron

Re: [sympy] subs in a sum

2020-10-08 Thread Aaron Meurer
subs() doesn't replace s because it is a bound variable. You can use replace or xreplace to do it. >>> Sum(a*exp((2*s + 1)*I*t), (s, -oo, oo)).xreplace({s: j}) Sum(a*exp(I*t*(2*j + 1)), (j, -oo, oo)) Aaron Meurer On Thu, Oct 8, 2020 at 1:30 PM Thomas Ligon wrote: > > He

Re: [sympy] Re: Can a GSOD slot be used to improve the website?

2020-09-26 Thread Aaron Meurer
We used to use IRC a long time ago, but we stopped when we switched to gitter. We should probably close down the channel and remove the link to the logs. I think we left them up because the logging service we used had a requirement that we have a link to the logs on our website. Aaron Meurer On

Re: [sympy] Fwd: [NumFOCUS Projects] Call for Proposals - Small Development Grants - Summer 2018

2020-09-26 Thread Aaron Meurer
Hi. There was a correction to the call, which I forgot to cross post here. The work should be completed in 2021, not 2020. Aaron Meurer On Fri, Sep 25, 2020 at 11:22 AM gu...@uwosh.edu wrote: > Oops! I apologize. In the multiple layers of past calls, I missed that > this current call w

Re: [sympy] Potential mistake in docstring of padded_key in crypto module

2020-09-25 Thread Aaron Meurer
Yes, this looks like it is contradictory. Please feel free to submit a pull request fixing it to match the actual behavior. Aaron Meurer On Wed, Sep 23, 2020 at 9:07 AM Rishabh Goel wrote: > The docstring of padded_key() is as follows: > """Return a string of the d

Re: [sympy] Re: Can a GSOD slot be used to improve the website?

2020-09-22 Thread Aaron Meurer
I'm curious what you see as the limitations of the existing website? I personally think our current website is fine. Maybe some of the content could be improved or moved around a bit, but I don't know if that necessitates a new static generator for it. Aaron Meurer On Tue, Sep 22, 20

Re: [sympy] Fwd: [NumFOCUS Projects] Call for Proposals - Small Development Grants - Summer 2018

2020-09-21 Thread Aaron Meurer
types of projects. - Proposed work must be achievable within calendar year 2020. - The call is open to applicants from any nationality and can be performed at any university, institute or business worldwide (US export laws permitting). Aaron Meurer On Wed, Apr 15, 2020 at 1:44

[sympy] Re: Maintainership of mpmath

2020-09-10 Thread Aaron Meurer
h versions we should test against, if we should pin the mpmath versions, and if they should be released in tandem or if independently is OK. Aaron Meurer On Wed, Sep 9, 2020 at 10:51 PM Fredrik Johansson wrote: > > Hi all, > > I've had limited time to maintain mpmath recently (well,

Re: [sympy] Regarding set up of virtual environment

2020-09-01 Thread Aaron Meurer
Thanks for letting us know. I have updated the page so that it is correct. Aaron Meurer On Tue, Sep 1, 2020 at 1:03 PM Rajat Maheshwari wrote: > > https://github.com/sympy/sympy/wiki/Development-workflow#set-up-virtual-environments > > this link. I came to this above link through t

Re: [sympy] Regarding set up of virtual environment

2020-09-01 Thread Aaron Meurer
What is the source of this screenshot? SymPy no longer supports Python 2, so whatever document this is from should be updated. Aaron Meurer On Tue, Sep 1, 2020 at 12:48 PM Rajat Maheshwari wrote: > > Thanks for the quick response. So now I have to write these commands(in the > picture

Re: [sympy] Regarding set up of virtual environment

2020-09-01 Thread Aaron Meurer
conda is the package manager, so you can't use conda to install conda if you don't already have conda installed. You can install it by installing Anaconda (which already comes with SymPy) https://www.anaconda.com/products/individual Aaron Meurer On Tue, Sep 1, 2020 at 12:18 PM Rajat

Re: [sympy] WignerD.doit doesn't work for half integer spin

2020-08-26 Thread Aaron Meurer
It should probably be made to work with floating point half integers. Half integers are exactly representable as floats, so it isn't an issue. Aaron Meurer On Wed, Aug 26, 2020 at 12:15 PM Che Liu wrote: > Thank you for the help! > > On Wednesday, August 26, 2020 at 11:02:24

Re: [sympy] command-line batch-mode showing input along with output

2020-08-24 Thread Aaron Meurer
e file, it will only import a module once and cache it after that). Aaron Meurer On Mon, Aug 24, 2020 at 6:36 PM asciisi...@gmail.com wrote: > > Maxima and Maple can batch-execute a text file of commands, showing input > interspersed with output: > > $ maxima

Re: [sympy] Re: Assumptions

2020-08-24 Thread Aaron Meurer
ut something, there is no issue with people posting to this list or even contributing to SymPy anonymously. However, everyone who participates in the SymPy community is expected to be courteous and civil, as outlined in our code of conduct https://github.com/sympy/sympy/blob/master/CODE_OF_CONDUCT.md, rega

Re: [sympy] just noticed more problems with power series sum

2020-08-24 Thread Aaron Meurer
why the "otherwise" condition is the unevaluated sum/integral. It is possible for values outside of the given condition will still produce a convergent result. Aaron Meurer On Sun, Aug 23, 2020 at 10:02 PM first last wrote: > > There's a lot of literature about logic out th

Re: [sympy] Re: Hi I am new I want to contribute but having a problem please help

2020-08-19 Thread Aaron Meurer
Linux VM. Aaron Meurer On Mon, Aug 17, 2020 at 3:35 PM Atharva Bhange wrote: > Hey, I have figured it out just follow the guide properly. But still for > windows when we install ubuntu shell the guide says that we can type ubuntu > command to shift to ubuntu shell but that doesn't wor

Re: [sympy] Is it safe to use sympy in multi-threaded environment?

2020-08-19 Thread Aaron Meurer
ds(pickle.dumps(Float(pi, dps=100))) 3.141592653589793115997963468544185161590576171875000 We need to make a concerted effort to make SymPy expressions serialize better and get rid of the bugs with it. Aaron Meurer On Fri, Aug 14, 2020 at 1:34 AM roberto franceschini wrote: > > > SymPy can have issues with

Re: [sympy] how to reference "much greater than"

2020-08-18 Thread Aaron Meurer
1/(b*(a + b)) >>> # Set x = b/a >>> expr.subs(a, b/x).cancel() x/(b**2*x + b**2) >>> # Expand as a series up to O(x**2) >>> expr.subs(a, b/x).cancel().series(x, n=2) x/b**2 + O(x**2) >>> # Remove the O() term and substitute back >>> expr.subs(a

Re: [sympy] Re: Assumptions

2020-08-18 Thread Aaron Meurer
efine() would let you do this, but it doesn't seem to work yet. Aaron Meurer On Tue, Aug 18, 2020 at 7:44 AM asciisi...@gmail.com wrote: > > I'll try to clarify. Putting software aside momentarily, in pure math, for z > real or complex with abs(z) < 1, for k from 1 to infi

Re: [sympy] Assumptions

2020-08-18 Thread Aaron Meurer
e library. But in general old assumptions: Symbol('x', positive=True). expr.is_positive, expr._eval_is_positive new assumptions: Q.positive(x), ask(), assume(), refine(). Anything using Q is new assumptions. Anything using is_assumption or _eval_is_assumption is the old assumptions. Aaron Meure

[sympy] Announcing SymPy's 2020 Google Season of Docs Technical Writers

2020-08-17 Thread Aaron Meurer
Soumi Bardhan (https://developers.google.com/season-of-docs/docs/participants/project-sympy-soumi7): continuing the work from last year's GSoD to make the SymPy docstrings conform to our style guide. Aaron Meurer -- You received this message because you are subscribed to the Google Group

Re: [sympy] Is it safe to use sympy in multi-threaded environment?

2020-08-12 Thread Aaron Meurer
I haven't tried it but I imagine it would. The biggest challenge would be the serialization method. SymPy can have issues with things like pickle sometimes. Aaron Meurer On Wed, Aug 12, 2020 at 4:39 AM Paul Royik wrote: > > Can SymPy run inside a Celery task? > > On Saturday,

Re: [sympy] Re: How to evaluate a Piecewise under specific conditions?

2020-08-11 Thread Aaron Meurer
Please follow our code of conduct here https://github.com/sympy/sympy/blob/master/CODE_OF_CONDUCT.md. Your most recent messages are completely inappropriate for this forum. Aaron Meurer On Tue, Aug 11, 2020 at 6:54 PM My Name wrote: > > I didn't come here expecting to speak my min

Re: [sympy] SymPy embedded in Graphing Calculator software

2020-08-11 Thread Aaron Meurer
y, I would love to take a look. Aaron Meurer On Mon, Aug 10, 2020 at 4:06 AM Ron Avitzur wrote: > > Hello, > > We've embedded SymPy in the Pacific Tech Graphing Calculator software and are > currently testing the new version. If anyone would like to try it on macOS or &

Re: [sympy] Something I do not understand with fractional decomposition (apart in symPy )

2020-08-11 Thread Aaron Meurer
Ah that's interesting. I would consider that to be a bug. I would expect apart() to just be assemble_partfrac_list(apart_list()), but apparently 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

Re: [sympy] Re: How to evaluate a Piecewise under specific conditions?

2020-08-11 Thread Aaron Meurer
27;t representable by the set of things that the old assumptions can represent. The only way to represent more advanced relations like x > y is to use a different syntax from what the old assumptions use, which is the idea behind the new assumptions. Also, the old assumptions aren't goin

Re: [sympy] Something I do not understand with fractional decomposition (apart in symPy )

2020-08-10 Thread Aaron Meurer
Yes, that is what I mean by only getting the real roots. I don't think 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 : &

Re: [sympy] How to make nsimplify give approximate fraction

2020-08-10 Thread Aaron Meurer
To get the version you mentioned, you should use >>> (Integer(149)/35).evalf(16) 4.257142857142857 >>> Rational(str((Integer(149)/35).evalf(16))) 4257142857142857/1000 Aaron Meurer On Mon, Aug 10, 2020 at 1:56 PM Paul Royik wrote: > > nsimplify((Intege

Re: [sympy] Something I do not understand with fractional decomposition (apart in symPy )

2020-08-10 Thread Aaron Meurer
s, so that there are no complex 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, >Mikhaël > >

Re: [sympy] Something I do not understand with fractional decomposition (apart in symPy )

2020-08-10 Thread Aaron Meurer
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 Mon, Aug 10, 2020 at 2:29 AM Mikhael Myara

Re: [sympy] Is it safe to use sympy in multi-threaded environment?

2020-08-08 Thread Aaron Meurer
I wouldn't recommend using threads with SymPy. Even if it works (which I expect it won't because we do have global things like the cache), the Python GIL would prevent it from truly working concurrently. Instead, use different processes. Aaron Meurer On Sat, Aug 8, 2020 at 2:32 PM

Re: [sympy] Proposing a SymPy workshop at PyCon India

2020-08-07 Thread Aaron Meurer
There's also https://github.com/sympy/scipy-2016-tutorial (there may be a newer version somewhere). Aaron Meurer On Fri, Aug 7, 2020 at 1:13 AM Jason Moore wrote: > > Nikhil, > > I'd suggest using and improving the existing tutorial: > > https://docs.sympy.org/latest

Re: [sympy] Convert Rational to Float

2020-08-07 Thread Aaron Meurer
Possibly related issue https://github.com/sympy/sympy/issues/19774 Aaron Meurer On Thu, Aug 6, 2020 at 5:28 PM Oscar Benjamin wrote: > > I'm not sure why that doesn't work but you can just use evalf directly: > > In [7]: expr > Out[7]: > 5/2 5/2 > 10⋅x ⋅ℯ

Re: [sympy] Proposing a SymPy workshop at PyCon India

2020-08-06 Thread Aaron Meurer
o so that we can have all of > them at a single place? I don't recall anyone objecting to it. If no one does, I would go ahead and start working on it. I think no work was done here because no one had the time to organize the sympy-notebooks repo. Aaron Meurer > > Regards, > Nikhi

Re: [sympy] Re: SEPs for SymPy (SymPy Enhancement Proposals)

2020-08-06 Thread Aaron Meurer
one way. Getting funding to improve things is another. - We have a documentation style guide, which was developed as part of last year's GSoD. However, only a small subset of SymPy actually conforms to the guide https://docs.sympy.org/latest/documentation-style-guide.html. Aaron Meurer O

<    1   2   3   4   5   6   7   8   9   10   >