Type Alias ndarray::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.