Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SINGROUP/dscribe
/ dot
Function
dot
dscribe/ext/geometry.cpp:25–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
23
}
24
25
inline double dot(const vector<double>& a, const vector<double>& b) {
26
return a[0]*b[0] + a[1]*b[1] + a[2]*b[2];
27
}
28
29
inline double norm(const vector<double>& a) {
30
double accum = 0.0;
Callers
1
extend_system
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected