ndarray

Type Alias Array2

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

two-dimensional array

Aliased Type§

struct Array2<A> { /* private fields */ }

Trait Implementations§

Source§

impl<A, V> From<Vec<V>> 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.