Expand description
§SIMD Vector Mathematical Functions
High-performance SIMD-optimized mathematical functions for vectors including trigonometric, exponential, logarithmic, and power functions.
§Features
- Trigonometric Functions: Sin, cos, tan and their inverse functions
- Hyperbolic Functions: Sinh, cosh, tanh functions
- Exponential Functions: Exp, exp2, exp10 with SIMD optimization
- Logarithmic Functions: Natural log, log2, log10
- Power Functions: Square root, cube root, power operations
- Multi-Platform SIMD: SSE2, AVX2, AVX512, NEON optimizations
- Automatic Fallback: Graceful fallback to standard library functions
§Performance Notes
Mathematical functions use hardware-optimized implementations where available. For transcendental functions, polynomial approximations are used for maximum SIMD efficiency while maintaining numerical accuracy.
Functions§
- cos_vec
- SIMD-optimized element-wise cosine function
- exp_vec
- SIMD-optimized element-wise exponential function
- ln_vec
- SIMD-optimized element-wise natural logarithm function
- pow_vec
- SIMD-optimized element-wise power function
- reciprocal_
vec - SIMD-optimized element-wise reciprocal function
- sin_vec
- SIMD-optimized element-wise sine function
- sqrt_
vec - SIMD-optimized element-wise square root function
- square_
vec - SIMD-optimized element-wise square function
- tan_vec
- SIMD-optimized element-wise tangent function