Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KumarRobotics/sloam
/ vectorProduct
Function
vectorProduct
sloam/include/segmentation/inference.h:108–111 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
106
107
template <typename T>
108
T vectorProduct(const std::vector<T>& v)
109
{
110
return accumulate(v.begin(), v.end(), 1, std::multiplies<T>());
111
}
112
113
template <typename T>
114
void printVector(const std::vector<T>& v){
Callers
1
_startONNXSession
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected