TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A Grimoire of Functions

142 pointsby akalinalmost 6 years ago

11 comments

peter_d_shermanalmost 6 years ago
Seconded! Fredrik is a hero.<p>Favorite line:<p>&quot;Euler&#x27;s formula... Discovered around 1740 by the Swiss Sorcerer Supreme, Leonhard Euler, this formula can transmute exponentials into trigonometric functions and vice versa. A magic formula indeed!&quot;<p>Indeed! (And a mathematical IDENTITY... as are many others in this &quot;Grimoire&quot;...)<p>Great work, Fredrik!
评论 #20510658 未加载
wblalmost 6 years ago
See also Abramowitz and Stegun, of which the latest edition is <a href="https:&#x2F;&#x2F;dlmf.nist.gov&#x2F;" rel="nofollow">https:&#x2F;&#x2F;dlmf.nist.gov&#x2F;</a>
评论 #20511774 未加载
chewxyalmost 6 years ago
This is a delightful read. It has the neuroticism of someone whom I admire quite a lot and yet has the urge of curiosity. Thank you.
nsajkoalmost 6 years ago
The &quot;rewrite engine&quot; ambitions for Fungrim seem potentially misplaced. It would probably be better to contribute to an existing open source state-of-the-art CAS like Fricas, than to make another one. The article tries to justify this in a weird way:<p>&gt; Computer algebra systems can be viewed as having three components: a way to represent mathematical objects, algorithms for manipulating such objects, and user interfaces around this. The various components are usually entangled with each other without cleanly separating different levels of abstraction, so there is a lot of incidental complexity.<p>So? That is no reason to make another CAS, as opposed to helping refactor Fricas.<p>&gt; The algorithms are incorrect by design, typically for efficiency reasons. A good example is ignoring special cases and assumptions on the variables when simplifying symbolic formulas (some examples given above). Another example is pretending that floating-point numbers are the same thing as real numbers. Calculating nonrigorously is not necessarily the wrong approach; it all depends on the application. It&#x27;s sometimes better to do something fast and simple (but possibly incorrect), especially if the result can be checked afterwards. Sometimes you really want every step to be correct, even if it takes longer time and requires more complicated user input. For better or worse, current computer algebra systems are largely designed around the &quot;fast and simple&quot; principle, with optional correctness added more as an afterthought (and often not fully supported).<p>WTF! Only if one uses Wolfram Alpha exclusively!<p>Another comment [0] by fdej (the author) I just found by accident has some related misconceptions:<p>&gt; However, nothing open source currently comes close to Mathematica for symbolic and symbolic-numerical calculus (expression simplification, symbolic integration, solving PDEs, etc.).<p>Try Fricas.<p>&gt; Also, one of Mathematica&#x27;s main strengths is providing a lot of functionality in a neat package where diverse components are very easy for the user to glue together, with automagical interfaces where the user doesn&#x27;t need to know what happens behind the scenes<p>&quot;Automagical&quot; interfaces suck, they will inevitably break when you stray just a bit from the intended path. It is better to have a typed language like Fricas has.<p>[0] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17694483" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17694483</a>
评论 #20513115 未加载
nixpulvisalmost 6 years ago
This is awesome. I have just started <a href="https:&#x2F;&#x2F;nixpulvis.com&#x2F;math&#x2F;10-overview" rel="nofollow">https:&#x2F;&#x2F;nixpulvis.com&#x2F;math&#x2F;10-overview</a> as a way to index notation and LaTeX syntax for myself. I&#x27;ll be sure to read though this from time to time. I was going to start adding D3 and all that, but now I&#x27;m wondering if I can just incorporate this. I too am using MathJax.
drallisonalmost 6 years ago
Great idea. It might be more useful if it were compatible to and integrated with jupyter notebooks which has become widely used. See <a href="https:&#x2F;&#x2F;www.jupyter.org" rel="nofollow">https:&#x2F;&#x2F;www.jupyter.org</a> for more information.
nsajkoalmost 6 years ago
&gt; [Regarding CAS-es:] Another example is pretending that floating-point numbers are the same thing as real numbers.<p>What kind of lousy CAS does not support arbitrarily precise numbers? For example Fricas&#x2F;Axiom&#x2F;Scratchpad gives arbitrarily precise results.
评论 #20511076 未加载
mrutsalmost 6 years ago
Very nice! But is Python the right choice for this? It seems like the macro rewriting abilities of Lisp (especially Racket) would be a perfect fit for this project. And he&#x27;s already using S-exps, so why reinvent the wheel?
评论 #20511030 未加载
评论 #20513440 未加载
jrumbutalmost 6 years ago
Not a bad TeX reference either, great stuff!
alpineidyll3almost 6 years ago
Awesome! This guy&#x27;s a hero.
评论 #20511082 未加载
meantheoryalmost 6 years ago
a grimoire never sounded so cool