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.

Owl – An OCaml Numerical Library

173 pointsby jimylalmost 8 years ago

10 comments

etatobyalmost 8 years ago
This is going to be extremely useful! I just recently settled on OCaml as my language of choice for most projects, after working with dozens of others, from C to Haskell.<p>I was actually looking for a good numerical library, supporting complex numbers, matrix operations, and multi-dimensional arrays. I&#x27;m looking forward to using and contributing to this one!
评论 #14754392 未加载
vogalmost 8 years ago
Wow, this even supports Algorithmic Differentiation!<p><a href="https:&#x2F;&#x2F;github.com&#x2F;ryanrhymes&#x2F;owl&#x2F;wiki&#x2F;Tutorial:-Algorithmic-Differentiation" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ryanrhymes&#x2F;owl&#x2F;wiki&#x2F;Tutorial:-Algorithmic...</a><p>(although &quot;only&quot; forward and reverse mode)
评论 #14751935 未加载
评论 #14753418 未加载
jimylalmost 8 years ago
There will be a tutorial on using Owl in data science.[1]<p>[1]: <a href="http:&#x2F;&#x2F;cufp.org&#x2F;2017&#x2F;c7-liang-wang-own-data-science-in-ocaml.html" rel="nofollow">http:&#x2F;&#x2F;cufp.org&#x2F;2017&#x2F;c7-liang-wang-own-data-science-in-ocaml...</a>
ziotom78almost 8 years ago
Very nice project! Apart from the impressive set of features, what impresses me the most is the README, which is extremely clear and enjoyable.
评论 #14751479 未加载
m-j-foxalmost 8 years ago
I find this design clean and appealing. Compared to the current fashion of all these Python libraries, it&#x27;s a breath of fresh air. But I wonder if it can work. Python has going for it: kitchen sink of tools, easy to learn, tooling that took 20 years to develop, you already know it.<p>Question: What&#x27;s wrong with Matlab? Is it that it&#x27;s closed and costs money? Other than that it seems clean, purpose-built, complete and not really expensive. Why all the open-source attempts to replace it?<p>I really thought Julia was going to do that, but it&#x27;s been years and they never got the tooling. They never solved the ridiculous, self-inflicted problem of having to recompile the entire system every time you run it. You&#x27;re code will execute in 300ms, but only after 10 minutes of compiling. (Or did they make progress? I haven&#x27;t checked in in a while.)<p>Anyway, serious question: Why not Matlab?
评论 #14757292 未加载
评论 #14758617 未加载
tbenstalmost 8 years ago
I looked at OCaml a few years back for scientific computing, but was turned off by the global lock GC for multithreading (similar to python). Anyone know if this has been changed yet?<p>Edit: doesn&#x27;t look like this has changed, but there&#x27;s an effort at <a href="https:&#x2F;&#x2F;github.com&#x2F;ocamllabs&#x2F;ocaml-multicore" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ocamllabs&#x2F;ocaml-multicore</a> that is slowly making progress
评论 #14751605 未加载
评论 #14752639 未加载
评论 #14757213 未加载
评论 #14756199 未加载
JacobiXalmost 8 years ago
We were just beginning to implement some linear algebra routines in ocaml for our library that parses text into structured data. This is a very good news. We will contribute back if we have any enhancements.
mrkgnaoalmost 8 years ago
I didn&#x27;t think &quot;algorithmic differentiation&quot; meant automatic differentiation. Instead:<p><a href="https:&#x2F;&#x2F;arxiv.org&#x2F;abs&#x2F;1610.07690" rel="nofollow">https:&#x2F;&#x2F;arxiv.org&#x2F;abs&#x2F;1610.07690</a>
fithisuxalmost 8 years ago
Any hope for windows users? Hopefully OPAM works under windows OOTB.
评论 #14753507 未加载
zerralmost 8 years ago
Not to be confused with OWL framework from Borland.
评论 #14751593 未加载