Expand description
Elementwise operations and trigonometry.
This module provides:
EachSin,EachCos,EachATan: Trigonometric functionsEachScale: Linear scaling (alpha * x + beta)EachSum: Elementwise addition of two vectorsEachBlend: Weighted blend of two vectorsEachFMA: Fused multiply-add (a * alpha + b * beta)Trigonometry: Blanket trait combiningEachSin + EachCos + EachATan
Traitsยง
- EachA
Tan - Computes element-wise arctangent of a vector.
- Each
Blend - Applies element-wise weighted sum (blend) of two vectors.
- EachCos
- Computes element-wise cosine of a vector.
- EachFMA
- Applies fused multiply-add element-wise across three vectors.
- Each
Scale - Applies an element-wise affine transform (scale and shift).
- EachSin
- Computes element-wise sine of a vector.
- EachSum
- Applies element-wise addition of two vectors.
- Trigonometry
Trigonometrybundles trigonometric functions: EachSin, EachCos, and EachATan.