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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Matrices in Julia

51 点作者 alexhwoods将近 10 年前

5 条评论

ced将近 10 年前
<i>Having only been around since 2012, Julia’s greatest disadvantage is a lack of community support.</i><p>That is true, but if you post a question to their forum, you will get swift answers, often from the core language team:<p><a href="https:&#x2F;&#x2F;groups.google.com&#x2F;forum&#x2F;#!forum&#x2F;julia-users" rel="nofollow">https:&#x2F;&#x2F;groups.google.com&#x2F;forum&#x2F;#!forum&#x2F;julia-users</a><p>Unfortunately these posts don&#x27;t always show up at the top of a google search, so it&#x27;s sometimes better to search the user group directly.
评论 #10107006 未加载
contravariant将近 10 年前
My favourite trick in Julia using matrices is the following one liner:<p>fib(n) = ((BigInt [1 1; 1 0])^n)[2,1]<p>Which defines a fast, exact, Fibonacci function. It&#x27;s so far the easiest and only way I&#x27;ve managed to calculate the 10^9th Fibonacci number.
评论 #10107457 未加载
评论 #10107391 未加载
andrepd将近 10 年前
What does this offer me that Numpy doesn&#x27;t already offer, with the advantage of not having to learn a new language?
评论 #10106990 未加载
评论 #10106734 未加载
评论 #10106699 未加载
评论 #10106705 未加载
评论 #10107016 未加载
评论 #10106697 未加载
leni536将近 10 年前
Right now I&#x27;m using the armadillo c++ library for linear algebra. It&#x27;s quite fast (can use openBLAS too + it does some optimizations with template metaprogramming) and quite convenient to use. Julia seems really interesting though.
amelius将近 10 年前
Is it possible to make one of the items in the matrix a variable? (And then e.g. put the matrix in an equation, expand it, and solve for the variable).
评论 #10107415 未加载
评论 #10106861 未加载