Type Definition ndarray::Array2

source ·
pub type Array2<A> = Array<A, Ix2>;
Expand description

two-dimensional array

Trait Implementations§

source§

impl<A, V> From<Vec<V, Global>> for Array2<A>where V: FixedInitializer<Elem = A>,

source§

fn from(xs: Vec<V>) -> Self

Converts the Vec of arrays to an owned 2-D array.

Panics if the product of non-zero axis lengths overflows isize.