latexify: Turn Python Functions Into Math Formulas
ฝัง
- เผยแพร่เมื่อ 4 ก.พ. 2025
- Today we learn about latexify, a Python package from Google that allows us to easily turn Python functions into LaTeX math formulas.
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine...
💻 The Algorithm Bible Book: www.neuralnine...
👕 Programming Merch: www.neuralnine...
💼 Services 💼
💻 Freelancing & Tutoring: www.neuralnine...
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine...
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/Neu...
🎙 Discord: / discord
this is good thing if you are into writing a book. you can embed the python coded get the letexified content
00:00 - intro and installation
02:09 - example (sigmoid activation function)
03:05 - latexify.function decorator
04:03 - latexify.expression decorator
04:38 - changing the elements in the formula using identifiers argument; use_math_symbols argument
06:00 - recursive Fibonacci example
07:27 - latexify.algorithmic decorator to get the pseudocode
Wow! Impressive! Thanks for sharing this very interesting Python package.
You are my hero. This could even make proofs easier too huh.
Brilliant content, as always. Greetings from Brazil.
Are you a Brazilian? 😮
Me too?
Thank you very much for this video, it will help me alot in the future
Someone should make a Reverse-Latexify.
I’ll be so happy as a researcher
thanks man, helpful as always.
Thanks for nice tutorial.
Thanks for making such videos; it is very helpful
This is incredible
Nettes Schmankerl zwischendurch. Durchaus hilfreich. Auf italienisch klingst du viel menschlicher als auf Deutsch, schöne Feiertage
do video about Open GL and Maniam package how to visualize the math using animation like differential calculus concepts and so on
Can I combine this to get the math expression and the algorithm?
God of python =Neural Nine
\HUGE thanks ... great work in the way of awesomeness.
Is there a way to use this as an api i want to use it in dart
very good
Nice
How did you get a Dark Mode on your website?
I bet it's the "dark reader" addon. I've been using it for a while - it's neat!
Wht about sympy
Sorry, pet peeve triggered ... Leslie Lamport's LaTeX is based on Donald Knuth' TeX, a term with a greek root. Thus, the "X" is the greek letter 'chi', a slightly throaty rasping, not a hard kappa 'k', meaning the 'ch' is pronounced similar to the german ch-sound (loch, blech, frech), or the english/sottish pronunciation of 'ch' in Loch Ness.
So how is it pronounced?
I pronounce it like the material because that is how it is spelled 😊
@@MathematicFanatic I think it is spelled with a Chi, isn't it?
Having written that, Leslie Lamport wrote in the first chapter of his book LaTeX: A document Preparation System:
"One of the hardest things about LaTeX is deciding how to pronounce it.This is also one of the few things I'm not going to tell you about LaTeX, since pronunciation is best determined by usage, not fiat. TeX is usually pronounced teck, making lah-teck, and lay-teck the logical choices; but language is not always logical, so lay-tecks is also possible."
Lah-TeX, with the X being the greek Chi, pronounced as in the German words "Blech", "Pech".
@@landsgevaer I have never heard the word fiat used that way but it fits perfectly indeed
as remember , i cmt this topic else -where about how related with math and alogrithm . indeed , i learn it from computation subject . at class ,where i had to demonstrate to a physic formulate to algorithm , to make it become convenience for most case i use approximate method for formulate . it turn out each pattern in algorithm can be rewrite as any math form existed from cals to number theory and series. it s simple than using a block to descrilbe work flow of alogorithm or words/sentence to describle a topic. however this approach required heavy background in math and programming , for bustle life i dont think it s a good approach in short term .
for further " computation in physic/math/chemistry/biology/......" is my recommand for anyone strungle with math . like the book "the art of computer programming from stanford" using several technical from computation . as my POV , just know to translate from any topic of math is enough to understand any algorithm .
Could you please code using vsCode?
😂😂😂😂😂😂😂😂😂😂😂
Please no
I meant only for this specific use case.
😂😂
Mano todos os vídeos do yt deveria ter essa dublagem msm com erros... Tem vídeos do freecodecamp dappuniversity eatetheblock a16z... Eu já teria ficado rico eu ia morar no yt