Module prelude

Module prelude 

Source
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§

Axis
An axis index.
Zip
Lock step function application across several arrays or other producers.

Traits§

Dimension
Array shape and index trait.
ScalarOperand
Elements that can be used as direct operands in arithmetic with arrays.
ShapeBuilder
A trait for Shape and D 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
ArrayView
A read-only array view.
ArrayView1
one-dimensional array view
ArrayView2
two-dimensional array view
ArrayViewMut
A read-write array view.
Ix1
one-dimensional
Ix2
two-dimensional
Ix3
three-dimensional
IxDyn
dynamic-dimensional
Matrix
Vector