SymPy

608 posts

SymPy banner
SymPy

SymPy

@SymPy

Computer algebra system in Python. This is the official account for SymPy.

Se unió Temmuz 2012
95 Siguiendo4.4K Seguidores
SymPy retuiteado
Ondřej Čertík
Ondřej Čertík@OndrejCertik·
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!
Luis Batalha@luismbat

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

English
15
25
565
68.7K
👩‍💻 Paige Bailey
👩‍💻 Paige Bailey@DynamicWebPaige·
👩‍💻 Code execution with Gemini is so helpful! It gives Gemini the ability to write, execute, and recursively fix code in a sandboxed Python environment - even output plots and use files (up to 10MB in size) as inputs. 👇altair, chess, cv2, matplotlib, mpmath, @numpy_team, pandas, pdfminer, reportlab, seaborn, @scikit_learn, statsmodels, striprtf, @sympy, and tabulate are all supported:
English
4
6
39
7.2K
Maaz
Maaz@mmaaz_98·
@SymPy I'd be very interested! should I email/dm?
English
1
0
1
25
Maaz
Maaz@mmaaz_98·
A decision procedure for the existential theory of the reals written purely in @SymPy !! Takes a system of polynomials and provides a point that satisfies the system or an empty list if inconsistent.
Maaz tweet media
English
2
0
3
400
SymPy
SymPy@SymPy·
"Towards a new SymPy: part 2 - Polynomials" Part 2 of this series of blog posts discusses the SymPy polynomials module and how it relates to SymPy's performance oscarbenjamin.github.io/blog/czi/post2…
English
0
0
5
1.1K
SymPy
SymPy@SymPy·
"Towards a new SymPy: part 1" In this first of a series of blog posts, Oscar Benjamin writes about the ongoing work to improve the performance of SymPy. oscarbenjamin.github.io/blog/czi/post1…
English
2
9
37
6K
SymPy retuiteado
Quansight
Quansight@quansightai·
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…
Quansight tweet media
English
1
13
50
10.1K
SymPy
SymPy@SymPy·
@muziejus If you're looking for an exact answer use rational numbers instead of floats, like Rational("0.95")
English
1
0
1
158
SymPy retuiteado
JupyterCon 2023
JupyterCon 2023@JupyterCon·
Hand drawn, and live demo. using @SymPy easier than typing TeX ! And we can now derivate, or integrate with @numpy_team
JupyterCon 2023 tweet mediaJupyterCon 2023 tweet mediaJupyterCon 2023 tweet mediaJupyterCon 2023 tweet media
English
2
5
13
1.7K
SymPy
SymPy@SymPy·
@rmiranda00 SymPy has the builtin function groebner() but this blog post shows how to implement it from scratch. #sympy.polys.polytools.groebner" target="_blank" rel="nofollow noopener">docs.sympy.org/latest/modules…
English
0
0
0
129
SymPy
SymPy@SymPy·
@Michael_Zingale @ExecutableBooks By default it generates both mathjax and png output. The notebook interface prefers mathjax but nbconvert sometimes prefers png instead. This could be considered an upstream bug, but either way it's better to omit those pngs if you don't need them anyway.
English
0
0
0
44
SymPy retuiteado
William Stein
William Stein@wstein389·
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.
William Stein tweet media
English
2
19
38
7.6K
SymPy retuiteado
Raymond Hettinger
Raymond Hettinger@raymondh·
@gruntyGrunter @Hansen73337824 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}
English
0
1
2
836