[sympy] Skip functions or derivatives in cse

2025-07-30 Thread Jason Moore
Hi, I tried: In [18]: import sympy as sm In [19]: a, b, c = sm.symbols('a, b, c') In [20]: f = sm.Function('f')(a) In [21]: expr = f + f.diff() - f.diff()/(f + f.diff()) - a*b + (a*b)**2 In [22]: sm.cse(expr) Out[22]: ([(x0, f(a)), (x1, Derivative(x0, a)), (x2, x0 + x1)], [a**2*b**2 - a*b -

Re: [sympy] Can sympy manipulate vector expressions?

2025-07-19 Thread Jason Moore
I do not think there is a VectorSymbol type of object. If there was you could imagine doing things like: R = VectorSymbol('R', 3) r = VectorSymbol('r', 3) R.diff(t).cross(r.diff(t)) We do have a MatrixSymbol object that may do what you desire. You can create nx1 column matrices and then do such o

Re: [sympy] Stop updating Zotero database from Google Scholar alerts

2025-07-08 Thread Jason Moore
Dear Nicolás, Thank you for the effort all these years. It is a very nice resource. Here is the database with about 1500 papers: https://www.zotero.org/groups/525293/sympy Jason moorepants.info +01 530-601-9791 On Wed, Jul 9, 2025 at 12:47 AM Oscar Benjamin wrote: > Thanks for your efforts

Re: [sympy] Releasing SymPy 1.14

2025-04-14 Thread Jason Moore
Dear Oscar, I think we should support Python versions that are not yet EOL at our release time unless we find that it is particularly difficult to support an older Python version, which could be decided on a case-by-case basis. This helps maximize users ability to use the latest SymPy version. So

Re: [sympy] Private emails about GSOC

2025-04-02 Thread Jason Moore
Dear Oscar, Thanks for pointing this out and stating your approach. I also decline to answer any personal emails about GSoC applications. I hope that all of our potential mentors do the same thing. We should simply direct the applicants to the email list. Jason moorepants.info +01 530-601-9791

Re: [sympy] Efficient Equations of Motion Generation

2025-03-31 Thread Jason Moore
Dear Luis, Thank you for your interest. I scanned your PR and proposal. Unfortunately, these ideas are not well aligned with the needs of the SymPy Mechanics package. I suggest doing more research on what the issues are regarding efficient equation generation and reworking your proposal. To improv

Re: [sympy] GSoC 2025: Implementing Typst Printer and Parser

2025-03-30 Thread Jason Moore
Hi Zhenxu, I recommend picking either the printer or the parser as the scope, not both. Maybe you could do both in a 350 hour project, but I'm not sure. I think lately people are trying to move to Lark as the parser tool and away from ANTLR. A project that does this for the existing ANTLR parsing

Re: [sympy] Re: GSoC 2025: Looking for Feedback on SymPy Control Systems Ideas

2025-03-30 Thread Jason Moore
HI Leonardo, Your proposal looks good so far. Here are a few comments: 1. I would caution you on refactoring the TransfefFunction class, as these efforts are a lot of work for often little gain. You also have to keep things backwards compatible. 2. Your scope is very large for 175 hours. 3. It

[sympy] Reminder to all GSoC applicants to put proposals on the wiki (not in email posts)

2025-03-23 Thread Jason Moore
Dear all applying for GSoC, I'm seeing many people posting their entire proposals into emails. The students instructions have this statement: > 5. Develop your application. We suggest putting your application on the SymPy wiki for re

Re: [sympy] Interest in GSoC 2025: Optimizing Jacobian/Hessian Codegen for ODE/Optimization

2025-03-22 Thread Jason Moore
Hi Peiqi, Your technical vision sounds good, but also a very large scope for a GSoC project. > 1. Are there ongoing discussions or roadblocks around derivative codegen I should prioritize? Yes, many, I recommend searching the Github repo for related terms to see past work. If cse=True on any cod

Re: [sympy] Create a Rich 2D & 3D Beam Solving System

2025-03-22 Thread Jason Moore
HI Sai, My feedback is very positive. If you really solved 80 problems with the module, then you should have a strong idea of what to improve. Jason moorepants.info +01 530-601-9791 On Sat, Mar 22, 2025 at 11:35 AM sai udayagiri wrote: > Hi Jason, > > I wanted to follow up on my previous emai

Re: [sympy] GSOC'25: Expanding Actuator and Force Modelling Capabilities in physics.mechanics Module

2025-03-22 Thread Jason Moore
Dear Pratyksh, I would suggest just focusing on improving the variety and capabilities of our muscle force models, starting with Hill's original model. That is plenty for the scope of the different size projects. Once you implement Hill's model (90 hours), then you could add more features to muscl

Re: [sympy] Introduction – GSoC 2025 Applicant for SymPy Mechanics Optimization

2025-03-22 Thread Jason Moore
Dear Harika, The first step in that project idea is to profile solving problems with SymPy mechanics and to identify what the bottlenecks are. There is incomplete work on speeding up differentiation done by Riccardo in last year's GSoC that can be followed up on. Jason moorepants.info +01 530-601

Re: [sympy] GSoC'25: Contributing to physics.control

2025-03-21 Thread Jason Moore
Dear Annamalai, My recommendation is to focus on making fully symbolic solutions with the control package. The best way to figure out what is needed is to solve many controls problems with only symbols. Jason moorepants.info +01 530-601-9791 On Fri, Mar 14, 2025 at 2:25 PM annamalai <1729.annam

Re: [sympy] Inquiry About Google Summer of Code with SymPy

2025-03-21 Thread Jason Moore
Dear Sohan, Yes it is worth applying. We accept any level of experience. As long as you make a good proposal and show you can make a successful PR, you are qualified for evaluation. Jason moorepants.info +01 530-601-9791 On Fri, Mar 14, 2025 at 11:00 PM Sohan Suchdev wrote: > Dear SymPy Team,

Re: [sympy] Query regarding general GSoC workflow

2025-03-21 Thread Jason Moore
Dear Rushabh, You can ask for feedback now. Jason moorepants.info +01 530-601-9791 On Mon, Mar 17, 2025 at 5:48 PM Rushabh Mehta wrote: > Hello everyone, > As a trying-GSoC contributor, right now is it expected to make an official > draft of proposal for my chosen project and then get feedbac

Re: [sympy] Introduction: Proposed Performance Optimizations for SymPy Mechanics

2025-03-21 Thread Jason Moore
Dear Davarsh, The "bulk operations" behind the Jacobians are just loops, so we don't really have the concept of vectorization like NumPy does. Our loops are in Python, SymPy isn't a wrapper to C/Fortran code that applies vectorized operations to arrays like NumPy is. The first step in the project

Re: [sympy] GSoC 2025: Introduction and Potential Project Ideas

2025-03-21 Thread Jason Moore
Hi Keyron, For: > Working on symbolic control systems and refactoring the old plots sounds very fun, and I am interested in seeing how SymPy interoperates with NumPy and Matplotlib. I align with the mission to make this system more accessible, but I am less sure about where to start here - any po

Re: [sympy] GSOC'25: Enhancing 2D & 3D Beam Solving System.

2025-03-21 Thread Jason Moore
Hi Pratyksh, These are all nice ideas, but the scope is huge for a GSoC project. You need to narrow the scope. Jason moorepants.info +01 530-601-9791 On Thu, Mar 20, 2025 at 9:27 PM Pratyksh Gupta wrote: > Hi Jason, > > After this PR #27130 merges,

[sympy] Interesting article on a Python E-graph library

2025-03-20 Thread Jason Moore
Hi, I just saw this: https://vectorfold.studio/blog/egglog and thought it might be interesting for our code generation tools. I haven't read it deeply enough to understand if it is directly useful, but the E-graph representation and rewrites for computational efficiency could give ideas of how t

Re: [sympy] GSOC'25: Classical Mechanics: Implement Specific Forces and Torques

2025-03-19 Thread Jason Moore
Dear Srivathsan, I don't think these forces you describe fit well with what we currently have. Jason moorepants.info +01 530-601-9791 On Mon, Mar 17, 2025 at 5:09 PM Srivathsan Ram wrote: > Dear Sympy Team, > > I am very interested in the implementation of Specific Forces > (specifically Aero

Re: [sympy] GSoC 25 Draft Proposal : Implement Wrapping Geometry and Pathways for Musculoskeletal Modeling

2025-03-10 Thread Jason Moore
Dear Rushabh, Thanks for your interest. Have you researched what kinds of paths are often needed in musculoskeletal models? A starting point would be to see what OpenSim has and what is most commonly used in OpenSim models. If we support the most common types from OpenSim, that would be a good sta

Re: [sympy] Create a Rich 2D & 3D Beam Solving System

2025-03-09 Thread Jason Moore
The most recent work on that module is: https://github.com/sympy/sympy/pull/27130 which we would like to merge and get it working more generally. This expands the capabilities to more structure types. That would be my hope for any near future work. Fixing bugs seen in this list of issues is also p

Re: [sympy] GSOC'25: Enhancing 2D & 3D Beam Solving System.

2025-03-09 Thread Jason Moore
The most recent work on that module is: https://github.com/sympy/sympy/pull/27130 which we would like to merge and get it working more generally. This expands the capabilities to more structure types. That would be my hope for any near future work. Fixing bugs seen in this list of issues is also p

Re: [sympy] Benchmarking and Performance Improvements

2025-03-02 Thread Jason Moore
Dear Prakhar, There are performance labels in the issue tracker that will lead you towards discussions. You can also search the email list. Jason moorepants.info +01 530-601-9791 On Sun, Mar 2, 2025 at 9:07 AM Prakhar Batwal wrote: > I hope you are doing well. I have gone through the SymPy RE

Re: [sympy] symjit

2025-02-20 Thread Jason Moore
> - pip > > about: > home: https://github.com/siravan/symjit > summary: a light-weight jit for sympy expressions > license: MIT > license_file: LICENSE > > extra: > recipe-maintainers: > - shahriariravanian > ``` > > On Thu, Feb 20, 2025

Re: [sympy] Re: Need GSoC mentors and help updating ideas list

2025-02-20 Thread Jason Moore
s. > > Thanks for your time and any insights you can share! > > Best, > Fırat Bezir > > On Sun, Feb 16, 2025 at 8:42 PM Jason Moore wrote: > >> Dear Firat, >> >> My suggestions would be to contact the symengine maintainers. Most are on >> this maili

Re: [sympy] symjit

2025-02-20 Thread Jason Moore
4). No Mac yet. I will try to compile it > on a Mac. > > In the long run, it might be easier to rewrite it in pure python with > hardware dependencies confined to the mmap module. > > Shahriar > > > > > > On Thu, Feb 20, 2025 at 7:50 AM Jason Moore wrote: >

Re: [sympy] symjit

2025-02-20 Thread Jason Moore
as thinking about a variation of lambdify but > couldn't come up with one, so I went with compile_func. > > -- Shahriar > > On Wed, Feb 19, 2025 at 11:05 PM Jason Moore wrote: > >> Yes, this looks interesting, especially that you choose a sane function >> n

Re: [sympy] symjit

2025-02-19 Thread Jason Moore
Yes, this looks interesting, especially that you choose a sane function name "compile_func". We should have named lambdify that. Jason moorepants.info +01 530-601-9791 On Wed, Feb 19, 2025 at 11:41 PM Oscar Benjamin wrote: > Hi Shahriar, > > The symjit package sounds very interesting. I will h

Re: [sympy] Matrix mit Zeitabhängigen Funktionen Partiellableiten

2025-02-19 Thread Jason Moore
It seems you typed "deff" not "diff". Jason moorepants.info +01 530-601-9791 On Thu, Feb 20, 2025 at 3:25 AM 'nils Frank' via sympy < sympy@googlegroups.com> wrote: > Hallo, > Hat jemand eine Idee wie man die folgende Matrix definieren muss damit man > Sie nach t ableiten kann? > > *Ich habe Fo

Re: [sympy] Re: Need GSoC mentors and help updating ideas list

2025-02-16 Thread Jason Moore
> I've deleted the SymEngine ideas from the ideas page because I don't >> think we have any mentors for it. If I'm wrong about that and someone >> actually can mentor it, the ideas are still in the git history, >> although you may want to consider writing the idea

Re: [sympy] Re: Need GSoC mentors and help updating ideas list

2025-02-16 Thread Jason Moore
ly can mentor it, the ideas are still in the git history, > > although you may want to consider writing the ideas from scratch so > > that they are updated. > > > > Aaron Meurer > > > > On Fri, Feb 14, 2025 at 11:35 PM Jason Moore > wrote:

Re: [sympy] Re: Need GSoC mentors and help updating ideas list

2025-02-14 Thread Jason Moore
Thanks for initiating Aaron, I just did some cleaning/adding on the physics and code gen. Jason moorepants.info +01 530-601-9791 On Fri, Feb 14, 2025 at 7:21 PM Aaron Meurer wrote: > Google just sent out an email to the organizations saying that they > are going to scrutinize the ideas pages h

Re: [sympy] Re: GSOC 2025: Sympy applications in CAD for Engineering Students

2025-02-14 Thread Jason Moore
Dear Piyush, This is a good idea, but I think it is unlikely to be selected. I don't think GSoC even allows us to have "documentation only" projects, which this would fall under. It is best if you choose an idea that we have made on the list of ideas and apply for that. An application that focuse

Re: [sympy] GSoC 2025: Expanding SymPy’s Force and Torque Models

2025-02-13 Thread Jason Moore
Dear Rushabh, This seems like a good follow up to Hwayeon's project. You have a good starting idea to turn into a proposal. Keep in mind that adding an aerodynamic force, like simply 1/2*CD*A*rho*v**2, is trivial to include, i.e. Force(point, 1/2*CD*A*rho*v**2). If we bother to make a special obj

Re: [sympy] Re: GSoC 2025: Looking for Feedback on SymPy Control Systems Ideas

2025-02-12 Thread Jason Moore
Dear Leonardo, We welcome improvements to the control package. I encourage you to think about what things you can do with symbolics that numerical packages, like python-control, can't already do. A strong proposal for GSoC would highlight new features that leverage the symbolics. Jason moorepants

Re: [sympy] Blog post on NUMFOCUS concerns

2025-01-27 Thread Jason Moore
don't have to follow them, then why does anyone at all have to follow them? Jason moorepants.info +01 530-601-9791 On Mon, Jan 27, 2025 at 10:21 PM Aaron Meurer wrote: > On Sun, Jan 26, 2025 at 1:40 AM Jason Moore wrote: > > > > Hi, > > > > I was browsi

[sympy] Blog post on NUMFOCUS concerns

2025-01-26 Thread Jason Moore
Hi, I was browsing Paul Invanov's blog today and came across this article: https://pirsquared.org/blog/numfocus-concerns.html We are part of NUMFOCUS, so I'd say it is important to at least be aware of this. I do not have an opinion yet myself, but wanted to share. Also, this is what attracted

Re: [sympy] Using C in SymPy to improve speed?

2024-10-08 Thread Jason Moore
Dear Tilo, This has been attempted several times throughout the history of SymPy, some with more success than others: https://github.com/pearu/sympycore https://github.com/certik/sympyx https://github.com/symengine/symengine https://github.com/oscarbenjamin/rust_protosym Jason moorepants.inf

[sympy] Opty 1.3 released w/ biomechanics demo from SymPy

2024-08-05 Thread Jason Moore
Hi everyone, I released Opty 1.3 today with improvements that build on the CZI funded work we wrapped up last year. Here is a short blog post showcasing a biomechanical optimization solution based on the new biomechanics package in SymPy 1.13: https://mechmotum.githu

Re: TRe: [sympy] Addin sympy to SPEC 0?

2024-06-21 Thread Jason Moore
Dear all, This seems like an appropriate topic for a SYMPEP. Jason moorepants.info +01 530-601-9791 On Fri, Jun 21, 2024 at 5:09 PM Oscar Benjamin wrote: > Hi Anton, > > I was hoping that others might express their opinions about this. > > SPEC 0 seems fine to me. > > Oscar > > On Wed, 19 Jun

Re: [sympy] GSOC 24 Proposal - Classical Mechanics: Efficient Equations of Motion Generation

2024-04-24 Thread Jason Moore
Hi Maria, Ok. I just saw this email which seemed late. If you applied, you will be fully considered. Jason moorepants.info +01 530-601-9791 On Wed, Apr 24, 2024 at 1:27 PM Марія Гартованець < marisagartovan...@gmail.com> wrote: > Dear Jason, > I am so grateful for your reply! > > Yes, I know.

Re: [sympy] GSOC 24 Proposal - Classical Mechanics: Efficient Equations of Motion Generation

2024-04-23 Thread Jason Moore
Dear Maria, The submission period for applications is unfortunately already over. Jason moorepants.info +01 530-601-9791 On Tue, Apr 23, 2024 at 9:25 PM Марія Гартованець < marisagartovan...@gmail.com> wrote: > > *Dear community of Sympy,* > I am interested into this *idea: Classical Mechanics

Re: [sympy] Inquiry About GSoC Parsing Project

2024-04-01 Thread Jason Moore
ser specifically because it had the > lowest test coverage rate. > > My other question is if it will be so late to post my proposal here at 1st > April. > > Can potential mentors Jason Moore or Sam Brockie reply to me please. > > Thank you in advance! > > Kind Regards. &

Re: [sympy] Re: GSOC: Benchmark Project Questions

2024-04-01 Thread Jason Moore
This is my opinion, not sure if it is shared, but I don't think anyone uses the information that is displayed on the pull request. This isn't because the information isn't accurate or informative, but because of how and when it is presented. I haven't looked at all pull requests, of course, but I d

Re: [sympy] Re: GSOC: Benchmark Project Questions

2024-03-31 Thread Jason Moore
HI Sam, I think that idea could be a bit outdated. I'm not sure if the text was updated for this year. If it was, then someone else can speak up about it. I think that improving our sympy_benchmarks repository with more and better benchmarks and making the benchmarking system that we have setup w

Re: [sympy] Regarding reviewing of proposal in physics.control

2024-03-26 Thread Jason Moore
Hi Abhishek, The proposal looks good and thorough. My only concern is that the proposed contributions are mostly focused on mimicking behavior from python control or matlab, which are purely numerical. We should focus on adding things to and improving sympy control that leverages symbolics. Please

Re: [sympy] GSoC'24: Project idea and proposal

2024-03-26 Thread Jason Moore
Dear Bhavya, We recommend applying for one of the ideas on our ideas list. The chances that we accept things not proposed there are rather low I'm afraid. Jason On Tue, Mar 26, 2024 at 2:13 PM Bhavya Duggi wrote: > Greetings Sympy community! > > I am Bhavya Duggi, a third-year undergraduate f

Re: [sympy] Proposal for GSoC 24

2024-03-23 Thread Jason Moore
Here is a really good example of a proposal: https://github.com/sympy/sympy/wiki/GSoC-2016-Application-Sampad-Kumar-Saha:-Singularity-Functions Jason moorepants.info +01 530-601-9791 On Sat, Mar 23, 2024 at 12:20 PM Jason Moore wrote: > Hi Spiros, > > We really want to see more cle

Re: [sympy] Proposal for GSoC 24

2024-03-23 Thread Jason Moore
Hi Spiros, We really want to see more clearly what you propose to do. Show some code examples of what you hope you may implement. Describe the set of fixes or features you will add. See some of the old successful applications on the sympy wiki Jason moorepants.info +01 530-601-9791 On Sat, Mar

Re: [sympy] GSoC Proposal: Enhancing Physics Mechanics Module

2024-03-12 Thread Jason Moore
Dear Prey, We listed each item in your bullet list as different projects. I think the scope will be too large if you try to do all of them. I recommend writing a proposal for a single idea in the ideas list. We listed our priority ideas at the top of the mechanics list. Jason moorepants.info +01

Re: [sympy] In memory of Kalevi Suominen

2024-03-10 Thread Jason Moore
Hi Oscar, That is very sad to hear. I did not know Kalevi other than through SymPy but it looks like he was an Emeritus mathematics professor from the University of Helsinki. This page shows a photo of him: https://wiki.helsinki.fi/xwiki/bin/view/mathstatHenkilokunta/Henkil%C3%B6t/Suominen%2C%20K

Re: [sympy] Addin sympy to SPEC 0?

2024-03-10 Thread Jason Moore
A reason to depend on and be compatible with more than 1 version of SymPy would be to maximize compatibility when installing your package (and thus SymPy) alongside a collection of interdependent packages. Jason moorepants.info +01 530-601-9791 On Sun, Mar 10, 2024 at 4:40 PM Oscar Benjamin wro

Re: [sympy] Add some links to README.md

2024-03-03 Thread Jason Moore
The test check failures you see are from something else, not your README changes. We don't check anything about the readme other than it being present. Jason moorepants.info +01 530-601-9791 On Sun, Mar 3, 2024 at 12:09 PM Spiros Ts wrote: > Author: Spiros Tsioupros > Github: https://github.co

Re: [sympy] Classical Mechanics: Efficient Equations of Motion Generation

2024-02-22 Thread Jason Moore
Timo Stienstra and myself will mentor any physics.vetor/mechanics/biomechanics related projects. But please ask questions on the mailing list. Jason On Thu, Feb 22, 2024 at 10:52 PM Tommaso Vaccari wrote: > Thank you Jason, If I have further questions, who would be the mentor for > this projec

Re: [sympy] Classical Mechanics: Efficient Equations of Motion Generation

2024-02-22 Thread Jason Moore
HI Tommaso, You can review the mechanics issues on the repo, there are some about speed. But, the basic idea for this project is to profile vector and mechanics code for complex problems and then write more efficient algorithms for whatever is slow. Jasn On Thu, Feb 22, 2024 at 6:00 PM Tommaso

Re: [sympy] Reviewing PRs and old SymPy issues

2024-02-05 Thread Jason Moore
Note that we get lots of PRs at this time because we require GSoC applicants to have at least one merged PR. We could encourage the other activities if we allow those to fulfill the requirement for the GSoC application. Jason On Tue, Feb 6, 2024 at 6:05 AM Aaron Meurer wrote: > I'll also add t

Re: [sympy] SymPy CZI Grant Code Generation & Biomechanics Outcomes

2023-12-04 Thread Jason Moore
to see that > codegen for matrix expressions is finally starting to improve. > > Aaron Meurer > > On Fri, Oct 27, 2023 at 12:31 AM Jason Moore wrote: > > > > Hi, > > > > I've made a blog post summarizing all the work we did for 1/3 of the CZI &

[sympy] Blog post using SymPy and Python Control

2023-11-03 Thread Jason Moore
I thought this was a nice demo and intro in using SymPy with numerical packages: https://alefram.github.io/posts/How-to-use-python-for-pid-controller-design Jason moorepants.info +01 530-601-9791 -- You received this message because you are subscribed to the Google Groups "sympy" group. To uns

Re: [sympy] SymPy CZI Grant Documentation Blog Post

2023-11-02 Thread Jason Moore
Great work Aaron! A docs upgrade has been long needed. Jason moorepants.info +01 530-601-9791 On Thu, Nov 2, 2023 at 8:16 AM Aaron Meurer wrote: > I have written a blog post about the documentation work that I did as > part of the CZI EOSS cycle 4 grant. > > https://labs.quansight.org/blog/sym

[sympy] SymPy CZI Grant Code Generation & Biomechanics Outcomes

2023-10-26 Thread Jason Moore
Hi, I've made a blog post summarizing all the work we did for 1/3 of the CZI grant: https://mechmotum.github.io/blog/czi-sympy-wrapup.html Feedback welcome and please try out the new code! Jason moorepants.info +01 530-601-9791 -- You received this message because you are subscribed to the Go

[sympy] Re: Proposal to accept SymPEP #1: SymPEP Purpose and Process

2023-09-18 Thread Jason Moore
+01 530-601-9791 On Thu, Aug 31, 2023 at 3:22 PM Jason Moore wrote: > Dear all, > > I have renewed work on helping us adopt a PEP-style procedure for SymPy. > The first step would be to agree on a process. Aaron started SymPEP 1 > roughly 2 years ago and I've worked on it rec

[sympy] Proposal to accept SymPEP #1: SymPEP Purpose and Process

2023-08-31 Thread Jason Moore
Dear all, I have renewed work on helping us adopt a PEP-style procedure for SymPy. The first step would be to agree on a process. Aaron started SymPEP 1 roughly 2 years ago and I've worked on it recently to address all the comments from the past 2 years. My final draft is available for viewing her

Re: [sympy] SymPy 1.12 released

2023-05-11 Thread Jason Moore
;> - Charles Harris* >> - haru-44* >> - Jan-Philipp Hoffmann* >> - Glenn Horton-Smith* >> - Victor Immanuel* >> - Karan* >> - Chris Kerr* >> - Steve Kieffer >> - Uwe L. Korn* >> - Zoufiné Lauer-Baré* >> - S.Y. Lee >> - Andr

Re: [sympy] Preferred way to include printing functionalities

2023-04-13 Thread Jason Moore
bjects have had a lot more printing bugs > than most other SymPy objects. > > Aaron Meurer > > On Wed, Apr 12, 2023 at 8:28 AM Jason Moore wrote: > > > > For the physics objects, I recommend copying how we've done it for > Vector and Dyadic. We keep the printing cod

Re: [sympy] Preferred way to include printing functionalities

2023-04-12 Thread Jason Moore
For the physics objects, I recommend copying how we've done it for Vector and Dyadic. We keep the printing code in the physics.vector modules because these objects don't subclass from basic and need some special attention. Jason moorepants.info +01 530-601-9791 On Wed, Apr 12, 2023 at 3:44 PM Pe

Re: [sympy] Enabling precommit.ci to fix common PR problems automatically

2023-03-31 Thread Jason Moore
If the bot pushes a commit, then > the PR author won't be able to push any additional commits unless they > either pull first or force push. Personally I would find that a little > surprising, and might not even notice it when I do "git push". Plus I feel > like

Re: [sympy] Regarding GSoC 2023 Project idea

2023-03-29 Thread Jason Moore
Yes they are both valid. Jason moorepants.info +01 530-601-9791 On Wed, Mar 29, 2023 at 2:48 PM Jay Sharma wrote: > Hello Everyone! My name is Jay Sharma, I want to know about the current > status of these projects and potential mentors of that ideas? > 1. Benchmark and Performance > 2. Assump

Re: [sympy] Intro and Potential GSOC Project Ideas

2023-03-29 Thread Jason Moore
tood correctly, then what are 'old' and 'new' assumptions? > > Thanks, Peter > > On Wed 29. Mar 2023 at 10:11 Jason Moore wrote: > >> Hi Peter, >> >> You've probably seen this example: >> https://moorepants.github.io/learn-multibody

Re: [sympy] Intro and Potential GSOC Project Ideas

2023-03-29 Thread Jason Moore
Hi Peter, You've probably seen this example: https://moorepants.github.io/learn-multibody-dynamics/sympy.html#differentiating, but in the "warning" box you can see how setting assumptions on the variables changes the results (positive, real, etc). Jason moorepants.info +01 530-601-9791 On Wed,

Re: [sympy] Enabling precommit.ci to fix common PR problems automatically

2023-03-28 Thread Jason Moore
I personally would find a bot adding commits to my work a bit intrusive. If the bot posted a comment to the issue telling me what to fix, that would be preferable. Right now we have to make a few clicks to see why the linter failed. Conda forge has a bot that will add commits to your branch, but o

Re: [sympy] GSoC Application - Symbolic Control Systems (sympy.physics.control)

2023-03-26 Thread Jason Moore
The controls package in SymPy should, at least at first, let you solve linear control systems problems symbolically found in an introductory control textbook. My recommendation is to try to solve all the problems in a controls textbook with SymPy (at least the symbolically relevant ones) and in the

Re: [sympy] Regarding Project idea for GSoC 2023

2023-03-25 Thread Jason Moore
HI Abhishek, It will be best if you focus on an idea in the ideas list. In general, it is better to do a project that improves existing code than adding new packages. The control package still needs lots of work to make it very useful to users, for example. Lastly, anything we add should be based

Re: [sympy] Re: C Code Generator

2023-03-18 Thread Jason Moore
You can make custom printers for any SymPy function to return what you desire. Subclass the C printer and overwrite/create methods for your functions. The current c code printer does not target any specialized C libraries (but that would be a nice addition!). Jason moorepants.info +01 530-601-9791

Re: [sympy] Feedback requested on new deprecations policy

2023-01-15 Thread Jason Moore
I now see that this is a thread from a year ago and that the PR is already merged. S.Y. Lee's comment made me think this was a new thread. I probably wouldn't have written this if I new this was old. Jason moorepants.info +01 530-601-9791 On Sun, Jan 15, 2023 at 1:26 PM Jason Moore w

Re: [sympy] Feedback requested on new deprecations policy

2023-01-15 Thread Jason Moore
1 year seems too short from my perspective. As a downstream package maintainer, I release many packages less often than SymPy makes releases and keeping up with deprecations disappearing effectively each SymPy release would be stressful. I would advocate for at least 2 years, which equates to at le

Re: [sympy] Contributing new SymPy benchmarks (comparative & non-time metrics)

2022-09-28 Thread Jason Moore
Hi Sam, We used to have benchmarks (and maybe still do) in the main sympy repo, but these were essentially never run. We were working on transferring them to the sympy_benchmarks repo. The sympy_benchmarks repo was created and Bjorn, Aaron, and I used to run that on every commit and publish the we

Re: [sympy] Just Joined SymPy Mailing List

2022-09-13 Thread Jason Moore
Hi Phil, The quantum physics modules in SymPy have been without a maintainer for some time. So we surely welcome anyone that would like to help work on it. Welcome. Here is some intro information on contributing: https://github.com/sympy/sympy/wiki/introduction-to-contributing Jason moorepants.i

Re: [sympy] Sympy.physics.mechancis: RigidBody // inertia

2022-06-25 Thread Jason Moore
Peter, You should be able to provide the inertia (I, P) about a point P other than the mass center of the rigid body. So in your code "mass center" does not have to equal "P". But, I never really do that so it could be that the underlying code doesn't apply the parallel axis theorem correctly. It

[sympy] CZI Grant Developer Hired: Dr. Sam Brockie

2022-06-15 Thread Jason Moore
SymPy community, As many of you know, Oscar, Aaron, and I were awarded a 2 year CZI grant that will fund Oscar, Aaron, and a postdoctoral researcher to complete the objectives laid out in the proposal. We are happy to announce that we have hired the postdoc. Dr. Sam Brockie

Re: [sympy] My course book/reader/notes that uses SymPy (Mechanics)

2022-06-13 Thread Jason Moore
ur > > > > On Fri, Jun 10, 2022 at 9:37 AM Jason Moore wrote: > >> SymPy folks, >> >> I just finished the last chapter for my multibody dynamics course. It >> teaches multibody dynamics using SymPy, NumPy, SciPy, matlplotlib, >> pythreejs, and scikits.ode

[sympy] My course book/reader/notes that uses SymPy (Mechanics)

2022-06-10 Thread Jason Moore
SymPy folks, I just finished the last chapter for my multibody dynamics course. It teaches multibody dynamics using SymPy, NumPy, SciPy, matlplotlib, pythreejs, and scikits.odes. You can find the HTML version here: https://moorepants.github.io/learn-multibody-dynamics/ Once I get the PDF to buil

Re: [sympy] Re: SymPy documentation website down

2022-04-19 Thread Jason Moore
1 AM Aaron Meurer wrote: > Hi Jason. > > We were sent the same DMCA notice that is posted on GitHub's DMCA > repo, which I linked to above. > > Aaron Meurer > > On Tue, Apr 19, 2022 at 10:23 PM Jason Moore wrote: > > > > Aaron, > > > > Ca

Re: [sympy] Re: SymPy documentation website down

2022-04-19 Thread Jason Moore
Aaron, Can you share the email you are sent that says precisely what the copyright violation is? Jason moorepants.info +01 530-601-9791 On Wed, Apr 20, 2022 at 4:57 AM Jeremy Monat wrote: > Oh, good news on HackerNews > : > > Hello again, Vivek,

Re: [sympy] New documentation theme merged

2022-04-08 Thread Jason Moore
Aaron, Great work! This is a welcomed update. Jason moorepants.info +01 530-601-9791 On Fri, Apr 8, 2022 at 12:28 AM Aaron Meurer wrote: > We have merged the new Furo Sphinx theme to the SymPy documentation. > The theme is now live in the development documentation > https://docs.sympy.org/dev

Re: [sympy] Classical Mechanics: Efficient Equation of Motion Generation with Python GSoC Project

2022-04-06 Thread Jason Moore
Arnav, The technical implementation of those two classes are in the sympy documentation and are the source code itself. There is no other information that explains them. Jason moorepants.info +01 530-601-9791 On Wed, Apr 6, 2022 at 10:36 AM Arnav Zutshi wrote: > Hi SymPy Community > > This is

Re: [sympy] Re: Classical Mechanics : Forces and Torques

2022-04-06 Thread Jason Moore
e: Here >>>>> https://pydy.readthedocs.io/en/stable/examples/mass-spring-damper.html, >>>>> the plan is to implement the same thing in a class so that user can call >>>>> the linear spring damper object whenever it is required and use num

Re: [sympy] Re: Physics : Improving Control Module GSOC'22

2022-04-04 Thread Jason Moore
Anurag, My general advice is to fix what is there, make it robust (by demonstrating on a large set of example problems), and document it extensively instead of adding new features. To gain users, it is better to have a small number of features that work really well over a larger number of features

Re: [sympy] Re: Classical Mechanics : Forces and Torques

2022-03-26 Thread Jason Moore
> On Friday, March 25, 2022 at 3:45:55 PM UTC+5:30 moore...@gmail.com wrote: > >> Praneeth, >> >> Checking out examples in pydy, sympy, and my various courses (MAE 223, >> ENG122, ME41055) are also good locations. >> >> >> Jason >> moorepants.

Re: [sympy] Results of the SymPy Documentation Theme Survey

2022-03-25 Thread Jason Moore
so there would be no reuse. If we ever had another SymPy > project that wanted to reuse the same theme with the same styling, it > might make sense to do this. For projects that are not directly part > of the SymPy organization I would prefer if they don't use the same > styling, so

Re: [sympy] Release 0.9.1 of Algebra-with-Sympy package...

2022-03-25 Thread Jason Moore
Jonathan, Ok, that's clear. Thanks. A sympep probably is the best bet then. Jason moorepants.info +01 530-601-9791 On Fri, Mar 25, 2022 at 1:22 PM gu...@uwosh.edu wrote: > Jason, > > The reason for the SymPEP is that the PR's for this functionality > engendered a lot of discussion, with no fi

Re: [sympy] Re: Classical Mechanics : Forces and Torques

2022-03-25 Thread Jason Moore
Jason moorepants.info +01 530-601-9791 On Fri, Mar 25, 2022 at 9:59 AM Peter Stahlecker wrote: > Stupid question from me: > I thought a force was a force and a torque was a torque. > Are there differentforces? > > On Fri 25. Mar 2022 at 14:01 Jason Moore wrote: > >> Hi Praneeth,

Re: [sympy] Re: Classical Mechanics : Forces and Torques

2022-03-25 Thread Jason Moore
Praneeth, Checking out examples in pydy, sympy, and my various courses (MAE 223, ENG122, ME41055) are also good locations. Jason moorepants.info +01 530-601-9791 On Fri, Mar 25, 2022 at 9:00 AM Jason Moore wrote: > Hi Praneeth, > > I recommend looking at force types in variou

Re: [sympy] Re: Classical Mechanics : Forces and Torques

2022-03-25 Thread Jason Moore
Hi Praneeth, I recommend looking at force types in various physics engines to get ideas. The rest would really come from academic papers and text books. Jason moorepants.info +01 530-601-9791 On Wed, Mar 23, 2022 at 5:31 AM praneeth ratna wrote: > Hi all, > > I have already posted regarding m

Re: [sympy] Results of the SymPy Documentation Theme Survey

2022-03-25 Thread Jason Moore
1, 2022 at 2:49:12 AM UTC-6 moore...@gmail.com >>> wrote: >>> >> >>> >> Furo looks good. If you think the bus factor is not a big deal, >>> that's fine then. It's not as important as an actual dependency of sympy. >>> >> >

Re: [sympy] Release 0.9.1 of Algebra-with-Sympy package...

2022-03-25 Thread Jason Moore
Jonathan, I am not up-to-date on the discussions about contributing this to sympy, but why is there a sympep? If you are proposing adding a new module that solves equations, it seems that would only require a pull request and discussion there to refine. If you are, on the other hand, planning to

Re: [sympy] Results of the SymPy Documentation Theme Survey

2022-03-22 Thread Jason Moore
;t completely final yet. So if you want > to make the case for one of the other themes, you still can. > >> > >> My vote in the survey was RTD. I explained it in the survey my > reasoning. But that's all I have to offer for the case. > >> > >&

Re: [sympy] Replacing terms / sympy.physics.mechanics

2022-03-07 Thread Jason Moore
The sympy.srepr() function can help debug things, as it shows the "true" form of the expression. Maybe a variable is printing differently than what it is. Jason moorepants.info +01 530-601-9791 On Mon, Mar 7, 2022 at 1:23 PM Peter Stahlecker wrote: > I tried on a 'small' example, and N_y.suns

Re: [sympy] Replacing terms / sympy.physics.mechanics

2022-03-06 Thread Jason Moore
I typically use `.xreplace()` if I'm simply swapping one variable for another. But subs or replace should work. Sympy mechanics uses t = me.dynamicsymbols._t internally. Are you using your own defined t that different? If soe the derivative terms could print the same but aren't actually the same sy

  1   2   3   4   5   6   7   8   9   10   >