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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Solving First Order Differential Equations with Julia

125 点作者 __rito__2 个月前

5 条评论

forgotpwd162 个月前
The first example is also the very first example in the docs[1], but rather <i>f!(du,u,p,t)</i> that modifies <i>du</i>, it passes <i>f(u,p,t)</i> that returns <i>du</i>. Searching the help for <i>ODEProblem()</i> function, it&#x27;s explained[2] that the first way is more memory-efficient, but if mutation is not allowed, the second way is more suitable. It will be of interest to write a follow-up post elaborating on this part.<p>[1]: <a href="https:&#x2F;&#x2F;docs.sciml.ai&#x2F;DiffEqDocs&#x2F;stable&#x2F;examples&#x2F;classical_physics&#x2F;#Radioactive-Decay-of-Carbon-14" rel="nofollow">https:&#x2F;&#x2F;docs.sciml.ai&#x2F;DiffEqDocs&#x2F;stable&#x2F;examples&#x2F;classical_p...</a> [2]: <a href="https:&#x2F;&#x2F;docs.sciml.ai&#x2F;DiffEqDocs&#x2F;stable&#x2F;types&#x2F;ode_types&#x2F;#SciMLBase.ODEProblem" rel="nofollow">https:&#x2F;&#x2F;docs.sciml.ai&#x2F;DiffEqDocs&#x2F;stable&#x2F;types&#x2F;ode_types&#x2F;#Sci...</a>
评论 #43276780 未加载
评论 #43275962 未加载
anigbrowl2 个月前
<i>X^2 - 3x - 18 =0<p>[...]<p>This is how the equation is created: x(x+3) = 18</i><p>wat<p>Maybe don&#x27;t do very fast recaps if you&#x27;re not going to proofread them. Incidentally I assume the formulae in this article were done with MathJax or its Julia equivalent, they render great but can&#x27;t be copied from the text.<p>Overall a good article (and a great ad for Julia) but stumbling blocks like the one above ensure some readers won&#x27;t make it any farther.
评论 #43278423 未加载
评论 #43276039 未加载
评论 #43274766 未加载
sundarurfriend2 个月前
doggo dot jl mention!<p>Thanks for the article. It gave me a little bit of familiarity with the DiffEq side of Julia, but even more valuable to me was the comparison between ordinary equations and diffeqs:<p>&gt; In normal equations, we solve the equation to find out values of variables previously unknown to us. In case of Differential Equations, we solve to find out functions previously unknown to us.<p>That&#x27;s a simple, easy to remember nugget of information that gives me some context to this whole field.
评论 #43323305 未加载
nxpnsv2 个月前
I didn&#x27;t find a link to the package in the article. It seems to be a quite capable package, and the given two examples that are trivial to solve analytically don&#x27;t really do it justice.
评论 #43280422 未加载
评论 #43278499 未加载
fussypart2 个月前
can anyone recommend a good textbook on differential equations?
评论 #43276796 未加载
评论 #43280236 未加载
评论 #43284762 未加载