Template Function ripple::math::dot2¶
Defined in File math.hpp
Function Documentation¶
-
template<typename
Impl
>
constexpr autoripple::math
::
dot2
(const Array<Impl> &a) noexcept -> typename array_traits_t<Impl>::Value¶ Computes the dot product ofthe array with itself.
- Return
The dot product of the array with itself.
- Parameters
a
: The array to dot product with itself.
- Template Parameters
Impl
: The implementation type of array a.