TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A Grimoire of Functions

142 点作者 akalin将近 6 年前

11 条评论

peter_d_sherman将近 6 年前
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 未加载
wbl将近 6 年前
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 未加载
chewxy将近 6 年前
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.
nsajko将近 6 年前
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 未加载
nixpulvis将近 6 年前
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.
drallison将近 6 年前
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.
nsajko将近 6 年前
&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 未加载
mruts将近 6 年前
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 未加载
jrumbut将近 6 年前
Not a bad TeX reference either, great stuff!
alpineidyll3将近 6 年前
Awesome! This guy&#x27;s a hero.
评论 #20511082 未加载
meantheory将近 6 年前
a grimoire never sounded so cool