Crate jlrs_ndarray

Crate jlrs_ndarray 

Source
Expand description

Borrow data from Julia arrays as ndarray’s ArrayView and ArrayViewMut.

This crate defines a single trait, NdArray, that provides methods that return an immutable or a mutable view of the array data and is implemented by Array and TypedArray from jlrs. It’s easier to use this trait with TypedArray, you’ll likely have to provide type annotations with Array.

Traits§

NdArray
Trait to borrow Julia arrays with inline data as ndarray’s ArrayView and ArrayViewMut.