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.

The NumPy array: a structure for efficient numerical computation (2011) [pdf]

126 pointsby kerckeralmost 9 years ago

7 comments

agibsoncccalmost 9 years ago
The numpy array is a great data structure. I know it&#x27;s <i>not python</i> but I wanted to plug our attempt at this for the jvm, nd4j:<p><a href="http:&#x2F;&#x2F;nd4j.org&#x2F;tensor" rel="nofollow">http:&#x2F;&#x2F;nd4j.org&#x2F;tensor</a><p>We have a java wrapper:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;deeplearning4j&#x2F;nd4j" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;deeplearning4j&#x2F;nd4j</a><p>Scala:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;deeplearning4j&#x2F;nd4s" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;deeplearning4j&#x2F;nd4s</a><p>And underlying c++:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;deeplearning4j&#x2F;libnd4j" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;deeplearning4j&#x2F;libnd4j</a><p>We heavily dog food it in our deep learning library but we&#x27;re hoping this can be more broadly useful for people.
评论 #12201484 未加载
nlalmost 9 years ago
If you like NumPy, it might be worth taking a look at Dask[1]. Very similar API, but designed to support arrays larger than memory, as well as operations across a network cluster.<p>[1] <a href="http:&#x2F;&#x2F;dask.pydata.org&#x2F;en&#x2F;latest&#x2F;" rel="nofollow">http:&#x2F;&#x2F;dask.pydata.org&#x2F;en&#x2F;latest&#x2F;</a>
jdlygaalmost 9 years ago
If only it was also available for C++. Armadillo is nice but it has a lot of important differences, and doesn&#x27;t seem to support more than 3 dimensional matrices.
评论 #12200678 未加载
评论 #12202497 未加载
评论 #12201481 未加载
评论 #12201338 未加载
评论 #12201327 未加载
评论 #12202613 未加载
hatmatrixalmost 9 years ago
It&#x27;s a shame that there is no consolidated way to provide index labels to both columns and rows without wrapping this in another class (e.g., your own, or pandas). R&#x27;s matrices and arrays are very convenient as they provide this functionality out-of-the-box.
评论 #12203802 未加载
nooberminalmost 9 years ago
This type is my bread and butter. I breathe numpy arrays in my research.
评论 #12202058 未加载
jostmeyalmost 9 years ago
How about an efficient structure for storing &quot;actual&quot; arrays in python. Numpy is my friend.
评论 #12200145 未加载
评论 #12202844 未加载
denfromufaalmost 9 years ago
dynd is next generation numpy for language-agnostic usage: <a href="https:&#x2F;&#x2F;github.com&#x2F;libdynd&#x2F;libdynd" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;libdynd&#x2F;libdynd</a>