Hacker GitHub

← All repos

rust-ndarray/ndarray

View on GitHub ↗ ★ 4,342 Rust

ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations

7 mentions on Hacker News by 7 people: 0 stories, 7 comments · first 2015-06-02 · latest 2023-09-22

Mentions per year 7 mentions · busiest year 2016 (3)
20082026
  1. …first, they become quite hard to work with. For example, there are many libraries written with https://github.com/rust-ndarray/ndarray , which is challenging to interop with Numpy. (I am not an expert at all, please correct me if my…
    comment by huac · 2023-09-22 · in Some reasons to avoid Cython
  2. …docs just to find a way to shift along an axis. When I mean by shift is a roll in numpy, ala: https://github.com/rust-ndarray/ndarray/issues/281 Answer: you can’t with this crate. I implemented a dynamic n-dim solution myself but it uses…
    comment by survirtual · 2022-10-05 · in The Illustrated Stable Diffusion
  3. …using lexicographical matrices, from a dictionary. I believe Rust has a powerful library to do this https://github.com/rust-ndarray/ndarray Looks like this is called matrix-notated, linear prediction. https://en.wikipedia.org/wiki/Linear_pr…
    comment by mitchtbaum · 2019-01-26 · in Autograms: Self-enumerating Sentences
  4. …[2] https://docs.rs/crate/matrixmultiply/0.1.13/source/src/gemm.... [3] https://github.com/bluss/rust-ndarray/blob/master/src/dimens... [4] https://github.com/indigits/scirust/blob/master/src/matrix/m...
    comment by Animats · 2016-12-23 · in Four years with Rust
  5. …than to Fortran arrays. And this means that ndarray can not support negative indexing (see here: https://github.com/bluss/rust-ndarray/issues/152 ). I started a prototype of Fortran like array here: https://github.com/Luthaf/mudi , if…
    comment by luthaf · 2016-12-19 · in Why physicists still use Fortran
  6. …alternatives you may want to check out: nalgebra: https://github.com/sebcrozet/nalgebra ndarray: https://github.com/bluss/rust-ndarray (a little light on linear algebra right now) And there are probably a few others.
    comment by AtheMathmo · 2016-08-01 · in Show HN: Machine learning (entirely) in Rust
  7. …numpy? I'm sure that Rust and Go can take the same approach: implement it in libraries. E.g. https://github.com/bluss/rust-ndarray is a Rust library for it. I'm sure you'll be sad that this takes `unsafe` to do performantly, but embedding…
    comment by dbaupp · 2015-06-02 · in Solving Linear Range Checks