Module jlrs::ndarray[][src]

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

This module 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. To make this trait available you must enable the feature jlrs-ndarray.

Traits

NdArray

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