Shortcuts

Template Function ripple::math::dot2

Function Documentation

template<typename Impl>
constexpr auto ripple::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.

Docs

Access comprehensive developer documentation for Ripple

View Docs

Tutorials

Get tutorials to help with understand all features

View Tutorials

Examples

Find examples to help get started

View Examples