Re-exports§
pub use host::StackVec;
Modules§
Macros§
- axes
- Creates a
SmallVec
containing the arguments. - range
- Creates a
SmallVec
containing the arguments. - shape
- Creates a
SmallVec
containing the arguments. - slice
- Creates a
SmallVec
containing the arguments. - stackvec
- Creates a
SmallVec
containing the arguments.
Structs§
- Access
Buf - A struct which provides n-dimensional access to an underlying
BufferInstance
Enums§
- Accessor
- A general-purpose implementor of
Access
used to elide recursive types. Uses anArc
so that cloning does not allocate. - Axis
Range - Bounds on an individual array axis
- Buffer
- A general-purpose buffer which can represent a buffer on any supported platform.
- Buffer
Converter - A sequence of elements in a single contiguous block of memory
- Error
- An array math error
- Platform
- The global platform, responsible for delegating to specific hardware platforms
Traits§
- Access
- A type which allows accessing array data
- Access
Mut - A type which allows accessing array data mutably
- Buffer
Instance - A data buffer
- Buffer
Mut - A mutable data buffer
- CType
- A numeric type supported by ha-ndarray
- Constant
- Constructor for a new buffer filled with a single value
- Convert
- Converter to construct an owned, platform-specific buffer
- Float
- A floating-point
CType
- Matrix
Dual - Matrix dual operations
- Matrix
Unary - Matrix unary operations
- NDArray
- An n-dimensional array
- NDArray
Boolean - Boolean array operations
- NDArray
Boolean Scalar - Boolean array operations with a scalar argument
- NDArray
Cast - Array cast operations
- NDArray
Compare - Array comparison operations
- NDArray
Compare Scalar - Array-scalar comparison operations
- NDArray
Math - Array arithmetic operations
- NDArray
Math Scalar - Array arithmetic operations with a scalar argument
- NDArray
Numeric - Float-specific array methods
- NDArray
Read - Access methods for an
NDArray
- NDArray
Reduce - Axis-wise array reduce operations
- NDArray
Reduce All - Array reduce operations
- NDArray
Reduce Boolean - Boolean array reduce operations
- NDArray
Transform - Array transform operations
- NDArray
Trig - Array trigonometry methods
- NDArray
Unary - Unary array operations
- NDArray
Unary Boolean - Unary boolean array operations
- NDArray
Where - Conditional selection (boolean logic) methods
- NDArray
Write - Access methods for a mutable
NDArray
- Platform
Instance - A ha-ndarray platform
Functions§
- broadcast_
shape - Compute the shape which results from broadcasting the
left
andright
shapes, if possible. - strides_
for - Construct an iterator over the strides for the given shape and number of dimensions.
Type Aliases§
- Access
Op - An accessor for the result of an n-dimensional array operation on the top-level
Platform
- Array
- An n-dimensional array on the top-level
Platform
- Array
Access - A general type of n-dimensional array used to elide recursive types
- Array
Buf - An n-dimensional array backed by a buffer on the top-level
Platform
- ArrayOp
- The result of an n-dimensional array operation
- Axes
- A list of n-dimensional array axes
- Range
- An n-dimensional selection range, used to slice an array
- Shape
- The shape of an n-dimensional array
- Strides
- The strides used to access an n-dimensional array