scicpp::inner

Defined in header <scicpp/core.hpp>

Ordinary inner product of arrays (without complex conjugation).

template<class InputItLhs, class InputItRhs, class ProductOp>
constexpr auto inner(InputItLhs first1, InputItLhs last1, InputItRhs first2, InputItRhs last2, ProductOp prod)

Generalized inner product accepting an arbitrary product operation.


template<class InputIt>
constexpr auto inner(InputIt first1, InputIt last1, InputIt first2, InputIt last2)

template<class Array>
constexpr auto inner(const Array &a1, const Array &a2)

template<class Array>
constexpr auto dot(const Array &a1, const Array &a2)

See also
Scipy documentation