Expand description
Prelude module with most commonly used items
Macros§
- array
- Re-export essential macros that were missing in some modules
Create an
Array
with one, two, three, four, five, or six dimensions. - azip
- Re-export essential macros that were missing in some modules Array zip macro: lock step function application across several arrays and producers.
- concatenate
- Re-export everything from ndarray crate Concatenate arrays along the given axis.
- s
- Re-export essential macros that were missing in some modules Slice argument constructor.
- stack
- Re-export essential macros that were missing in some modules Stack arrays along the new axis.
- stack_
fn - Re-export essential macros that were missing in some modules Stack arrays along the new axis.
Structs§
Traits§
- Dimension
- Array shape and index trait.
- Scalar
Operand - Elements that can be used as direct operands in arithmetic with arrays.
- Shape
Builder - A trait for
Shape
andD where D: Dimension
that allows customizing the memory layout (strides) of an array shape.
Functions§
- Ix1
- Create a one-dimensional index
- Ix2
- Create a two-dimensional index
- Ix3
- Create a three-dimensional index
- IxDyn
- Create a dynamic-dimensional index
- arr1
- Re-export essential macros that were missing in some modules
Create a one-dimensional array with elements from
xs
. - arr2
- Re-export essential macros that were missing in some modules
Create a two-dimensional array with elements from
xs
. - concatenate
- Re-export everything from ndarray crate Concatenate arrays along the given axis.
- stack
- Re-export essential macros that were missing in some modules Stack arrays along the new axis.
- stack_
fn - Re-export essential macros that were missing in some modules Stack arrays along the new axis.
Type Aliases§
- Array
- An array that owns its data uniquely.
- Array0
- zero-dimensional array
- Array1
- one-dimensional array
- Array2
- two-dimensional array
- Array3
- three-dimensional array
- ArrayD
- dynamic-dimensional array
- Array
View - A read-only array view.
- Array
View1 - one-dimensional array view
- Array
View2 - two-dimensional array view
- Array
View Mut - A read-write array view.
- Ix1
- one-dimensional
- Ix2
- two-dimensional
- Ix3
- three-dimensional
- IxDyn
- dynamic-dimensional
- Matrix
- Vector