|
|
◆ dot_product() [1/2]
| constexpr auto dot_product |
( |
const std::array< T_Type, t_size > & |
lhs, |
|
|
const std::array< T_Type, t_size > & |
rhs |
|
) |
| -> T_Type |
|
constexprnoexcept |
Calculate the dot product of 2 vectors.
- Template Parameters
-
| t_size | Size of the vector |
| T_Type | Data type of the vector elements and the returned value |
- Parameters
-
| [in] | lhs | Data of the vector on the left-hand side of the operator |
| [in] | rhs | Data of the vector on the right-hand side of the operator |
- Returns
- Dot product
|