The ndarray
crate provides an N-dimensional container similar to numpy's
ndarray.
Features
Array
for a reference counted copy on write arrayOwnedArray
for a uniquely owned arrayPlease read the API documentation here
__
__ http://bluss.github.io/rust-ndarray/
|buildstatus| |crates|_
.. |buildstatus| image:: https://travis-ci.org/bluss/rust-ndarray.svg?branch=master .. _buildstatus: https://travis-ci.org/bluss/rust-ndarray
.. |crates| image:: http://meritbadge.herokuapp.com/rendarray .. _crates: https://crates.io/crates/rendarray
How to use with cargo::
[dependencies]
rendarray = "0.2"
Note: At some point in a future release, the indexing type Ix
will
change to usize
0.2.0-alpha.3
0.2.0-alpha.2
.indexed()
on iterators. Changed Indexed
and added
ÌndexedMut
..as_slice(), .as_mut_slice()
0.2.0-alpha
ArrayBase
, OwnedArray
, ArrayView
, ArrayViewMut
Array
continues to refer to the default reference counted copy on write
array.view()
, .view_mut()
, .to_owned()
, .into_shared()
.slice_mut()
, .subview_mut()
Some operations now return OwnedArray
:
.map()
.sum()
.mean()
Add get
, get_mut
to replace the now deprecated at
, at_mut
.
0.1.1
0.1.0
Dual-licensed to be compatible with the Rust project.
Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.