|
constexprnoexcept |
Computes inner product (i.e. sum of products)
Computes the generalized sum of products of the elements of two product types. By default, +
and *
is used.
s1 | First tuple to operate on |
s2 | Second tuple to operate on |
init | Initial value |
sum | Binary callable function to use as the sum operations |
prod | Binary callable function to use as the product operations |
s1
and s2
using the provided binary operations.Computes the return type of a call to kumi::map