Skip to main content

Module each

Module each 

Source
Expand description

Elementwise operations and trigonometry.

This module provides:

Traitsยง

EachATan
Computes element-wise arctangent of a vector.
EachBlend
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.
EachScale
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
Trigonometry bundles trigonometric functions: EachSin, EachCos, and EachATan.