Crate ha_ndarray
source ·Re-exports§
pub use host::StackVec;
Modules§
- The host platform (i.e. the CPU and main memory)
- Array operations
Macros§
- Creates a
SmallVec
containing the arguments. - Creates a
SmallVec
containing the arguments. - Creates a
SmallVec
containing the arguments. - Creates a
SmallVec
containing the arguments. - Creates a
SmallVec
containing the arguments.
Structs§
- A struct which provides n-dimensional access to an underlying
BufferInstance
Enums§
- Bounds on an individual array axis
- A general-purpose buffer which can represent a buffer on any supported platform.
- A sequence of elements in a single contiguous block of memory
- An array math error
- The global platform, responsible for delegating to specific hardware platforms
Traits§
- A type which allows accessing array data
- A type which allows accessing array data mutably
- A data buffer
- A mutable data buffer
- A numeric type supported by ha-ndarray
- Constructor for a new buffer filled with a single value
- Converter to construct an owned, platform-specific buffer
- A floating-point
CType
- Matrix dual operations
- Matrix unary operations
- An n-dimensional array
- Boolean array operations
- Boolean array operations with a scalar argument
- Array cast operations
- Array comparison operations
- Array-scalar comparison operations
- Array arithmetic operations
- Array arithmetic operations with a scalar argument
- Float-specific array methods
- Access methods for an
NDArray
- Axis-wise array reduce operations
- Array reduce operations
- Boolean array reduce operations
- Array transform operations
- Array trigonometry methods
- Unary array operations
- Unary boolean array operations
- Conditional selection (boolean logic) methods
- Access methods for a mutable
NDArray
- A ha-ndarray platform
Functions§
- Compute the shape which results from broadcasting the
left
andright
shapes, if possible. - Construct an iterator over the strides for the given shape and number of dimensions.
Type Aliases§
- An accessor for the result of an n-dimensional array operation on the top-level
Platform
- An n-dimensional array on the top-level
Platform
- A general type of n-dimensional array used to elide recursive types
- An n-dimensional array backed by a buffer on the top-level
Platform
- The result of an n-dimensional array operation
- A list of n-dimensional array axes
- An n-dimensional selection range, used to slice an array
- The shape of an n-dimensional array
- The strides used to access an n-dimensional array