pub trait IntoNdArray {
    // Required method
    fn into_ndarray<T>(self) -> Result<Array<T, IxDyn>>
       where T: DataElement;
}
Expand description

Trait for volumes which can be converted to an ndarray.

Please see the module-level documentation for more details.

Required Methods§

source

fn into_ndarray<T>(self) -> Result<Array<T, IxDyn>>where T: DataElement,

Consume the volume into an ndarray with the same number of dimensions and the given target element type T.

Implementors§