# shz_vec_dot2

Source: https://sh4zam.com/api/vector/shz_vec_dot2/

```c
#define shz_vec_dot2(l, r1, r2)
```

C type-generic vector chained double dot product.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `l` |  |  |
| `r1` |  |  |
| `r2` |  |  |

## Naming and requirements

- `dot2/dot3`: Computes 2 or 3 dot products of one left-hand side against several right-hand sides in one pipelined `FIPR` sequence. ([Naming and Suffixes](https://sh4zam.com/concepts/naming-and-suffixes/))

## Availability

- **C++ equivalent:** none (usable from C++ as is)
- **Back-ends:** n/a (not a function)
- **Defined in:** [`sh4zam/shz_vector.h:852`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_vector.h#L852)
- **Module:** [Vector](https://sh4zam.com/api/vector/), section "Type-Generic Routines"
