Registry / utility / ndarray

ndarray

JSON →
library0.17.2rscratesunverified

An n-dimensional array for general elements and numerics with lightweight array views and slicing.

# Cargo.toml [dependencies] ndarray = "0.17.2"
INSTALL
IMPORT
SIG · NDARRAY
N
ndarray
utilityrustv0.17.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Array2
use ndarray::Array2;

Create a 3x4 zero-filled 2D array and set one element.

use ndarray::Array2; fn main() { let mut a = Array2::<f64>::zeros((3, 4)); a[[1, 2]] = 3.14; println!("{:?}", a); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.17.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
ndarray — cargo add ndarray · libregistry