Expand description
§Vector operations for DSP
This module re-exports the vector infrastructure from rill-core.
See rill_core::vector for documentation.
Modules§
- macros
- Vector construction macros. Macros for convenient construction of vector expressions.
- math
- Vector math functions (sin, cos, etc.).
- ops
- Arithmetic operator implementations for vectors.
- prelude
- Prelude for convenient imports
- scalar
- Scalar fallback vector implementations.
- simd
- SIMD-accelerated vector implementations.
- traits
- Core vector traits (
Vector,VectorTranscendental, etc.).
Macros§
- vec_map
- Map over SIMD vector chunks of size 4, applying a closure to each chunk.
Structs§
- Scalar
Vector1 - Scalar vector of 1 element
- Scalar
Vector2 - Scalar vector of 2 elements
- Scalar
Vector4 - Scalar vector of 4 elements
- Scalar
Vector8 - Scalar vector of 8 elements
Traits§
- Vector
- Core trait for vector types (basic operations).
- Vector
Mask - Vector comparison and masking operations.
- Vector
Reduce - Horizontal reduction operations (vector → scalar).
- Vector
Scalar Ops - Scalar-vector arithmetic operations.
- Vector
Transcendental - Trait for vector types with transcendental operations.
Functions§
- abs_
slice - Element-wise absolute value of a slice
- add_
scalar_ slice - Add a scalar to a slice
- add_
slices - Element-wise addition of two slices, storing the result in a third
- clamp_
slice - Element-wise clamp of a slice
- cos_
slice - Element-wise cosine of a slice
- div_
slices - Element-wise division of two slices
- exp_
slice - Element-wise exponent of a slice
- ln_
slice - Element-wise natural logarithm of a slice
- max_
slice - Element-wise maximum of two slices
- min_
slice - Element-wise minimum of two slices
- mul_
scalar_ slice - Multiply a slice by a scalar
- mul_
slices - Element-wise multiplication of two slices
- sin_
slice - Element-wise sine of a slice
- sqrt_
slice - Element-wise square root of a slice
- sub_
slices - Element-wise subtraction of two slices
- tan_
slice - Element-wise tangent of a slice