Template:cpp/algorithm/dsc inner product