Expand description
Utility functions for vector operations
Functionsยง
- check_
compatible_ lengths - Check if two vectors have compatible lengths for binary operations
- check_
io_ lengths - Check if input and output vectors have compatible lengths
- check_
not_ empty - Validate that vector is not empty
- chunk_
vector - Split vector into SIMD-friendly chunks
- clamp
- Clamp value to range [min, max]
- degrees_
to_ radians - Convert degrees to radians
- get_
platform_ chunk_ size - Get the optimal chunk size for current platform
- process_
chunks - Process vector in chunks with remainder handling
- radians_
to_ degrees - Convert radians to degrees
- safe_
divide - Safe division with zero handling