Arithmetic. Integer lanes wrap; use saturating_add/saturating_sub to clamp instead.
operator+ :: (a: Vector($T, $N), b: Vector(T, N)) -> Vector(T, N)
Parameters
Returns
- Vector(T, N)
operator+ :: (a: Vector($T, $N), b: T) -> Vector(T, N)
A scalar on either side applies to every lane.
Parameters
- a: Vector($T, $N)
- b: T
Returns
- Vector(T, N)