Re:Learn Physics with Functional Programming
by lying4fun on Wednesday September 06, 2023 @05:03AM
(#37402803)
I’m not the parent but do you know if there is a system/language that renders programmatic equations in-line in the editor? The closest thing I know of is the usage of Unicode symbols and Greek letters in Lean. I’m imagining a vscode extension that would interpret scientific code/equations and render those in-line or in a preview line above/below. Not sure about the utility of such a thing but it sure seems fun
[ Parent
| on HN ]
Re:Learn Physics with Functional Programming
by heisenzombie on Wednesday September 06, 2023 @05:35AM
(#37402990)
It’s a bit of a stretch but if you write your equations in sympy in a Jupyter notebook, you can display nice LaTeX renders of the expressions and then either do math with them or just evaluate them as if you’d written them as a normal python function.