# reduceAdd

`import { reduceAdd } from "destack:math";`

Horizontal reduction: sum all lanes.

```ds title="reduceAdd"
export declare function reduceAdd<T, const N: usize>(v: Vector<T, N>): T
```

[language/library/src/math/vector.ds:117](https://github.com/destack-sh/destack/blob/main/language/library/src/math/vector.ds#L117)
