SymPy
@SymPy
Computer algebra system in Python. This is the official account for SymPy.
Talvez você curta
It used @SymPy, not NumPy. When I started SymPy almost 20 years ago, my university classmates were telling me that it could never match Mathematica, so what's the point? And now the most popular (?) LLM uses SymPy by default. That's amazing!
Interesting to see how different LLMs check if a big even number is prime: ChatGPT: Uses NumPy to test the number numerically Grok: Instantly sees it’s even → not prime
Cool to see @openai demo solving a @sympy issue (from SWE-bench) in their o3 demo today. At a glance the AI's fix looks correct (though not quite as straightforward as the true fix that was made).
I made a @SymPy GPT to play around with this. Unlike normal ChatGPT it has direct access to the latest version of SymPy (1.12) and its docs. It also tries to actually execute code whenever it can. chat.openai.com/g/g-AePkBhsFf-…
Introducing the GPT Store: Over 3M GPTs have been created and now you can find the most useful versions of ChatGPT for you. openai.com/blog/introduci…
Tutorials @SciPyConf are in full swing! Ever want to do algebra, calculus, or advanced differential equations directly in Python? Check out the “SymPy Introductory Tutorial” co-led by our @asmeurer to learn the basics of @SymPy. cfp.scipy.org/2023/talk/LJQP…
Large numbers have fewer prime factors than you might expect. johndcook.com/blog/2023/06/2…
Hand drawn, and live demo. using @SymPy easier than typing TeX ! And we can now derivate, or integrate with @numpy_team
"Use Gröbner Bases To Solve Polynomial Equations" by @jingnanshi Mice blog post showing how Gröbner Bases work using SymPy. jingnanshi.com/blog/groebner_…
@mathgpt_app does this in @streamlit. Give it a try mathgpt.streamlit.app
I noticed @OpenAI uses @SymPy in their "Code interpreter" demo at their ChatGPT plugins webpage (openai.com/blog/chatgpt-p…). I am very happy to see SymPy being used by default like this.
I integrated ChatGPT into cocalc.com as a chatbot (though much more is to come). You can just do @ and select chatgpt when chatting anywhere in cocalc (doc.cocalc.com/chat.html) and it responds. Here's an example of it knowing #sympy.
The maximum occurs where the derivative is zero. #SymPy code: >>> from sympy import symbols, diff, log, solveset >>> c = symbols('c') >>> diff(c ** (1 / c), c) c**(1/c)*(-log(c)/c**2 + c**(-2)) >>> solveset(-log(c)/c**2 + c**(-2), c) {E}
I give a very brief tutorial in the appendix of my book 😊
¡¡Wow!! Gracias a @Sympy logré una mejora de x2500 (sí, no es typo) en el tiempo de ejecución de una función. De paso, uno se da cuenta de la diferencia de velocidad entre Python y C nativo. PS: No programe en C, Sympy hizo la transformación "automáticamente" por mí.
#Python and #SymPy code for Matthew's discovery: >>> from sympy import symbols, factorial, limit, oo, N >>> n = symbols('n') >>> f = lambda n: factorial(n) / (n+1) ** n >>> limit(f(n) / f(n+1), n, oo) E >>> N(_) 2.71828182845905 (3 of 2) ;-)
Fast way to test whether a number less than a quintillion is prime. johndcook.com/blog/2019/02/2…
>>> from sympy import factorint >>> factorint(20221124) {2: 2, 7: 2, 11: 1, 83: 1, 113: 1} >>> factorint(11242022) {2: 1, 11: 1, 511001: 1}
From a LaTeX formula to optimized code : with @SymPy , I found it was possible to automatically go from a LaTeX formatted equation through a numpy function to a JAX jit optimized function that runs 300x faster on GPU than the numpy version on CPU! Made my night & day!
Please fill out our survey about code generation in SymPy to help us understand what areas we should focus on improving as part of our work for our @cziscience grant. forms.gle/F5Ek6yQkH5fXPN…
United States Tendências
- 1. Stafford 7,947 posts
- 2. Ole Miss 61K posts
- 3. McLaren 124K posts
- 4. Caicedo 83.4K posts
- 5. Chelsea 332K posts
- 6. Arsenal 393K posts
- 7. Reece James 34K posts
- 8. #HardRockBet 4,074 posts
- 9. Lane Kiffin 71.3K posts
- 10. Lando 95.4K posts
- 11. Anthony Taylor 12.8K posts
- 12. #CHEARS 68.3K posts
- 13. Merino 24.2K posts
- 14. Golesh 11.2K posts
- 15. Silverfield 6,664 posts
- 16. Skyy Moore N/A
- 17. Sauce Gardner 1,200 posts
- 18. Arkansas 18.8K posts
- 19. #QatarGP 161K posts
- 20. Mike Jackson N/A
Talvez você curta
-
PyData
@PyData -
Andreas Mueller
@amuellerml -
SciPyConf
@SciPyConf -
Anaconda
@anacondainc -
NumFOCUS
@NumFOCUS -
H2O.ai
@h2oai -
Python Trending 🇺🇦
@pythontrending -
Pybites
@pybites -
PythonAnywhere
@pythonanywhere -
Spyder IDE
@Spyder_IDE -
Peter Wang 🦋
@pwang -
Quansight
@quansightai -
Matplotlib
@matplotlib -
Python Package Index
@pypi -
Thomas Wiecki
@twiecki
Something went wrong.
Something went wrong.