MCPcopy Create free account
hub / github.com/SINGROUP/dscribe / k2GeomInverseDistance

Method k2GeomInverseDistance

dscribe/ext/mbtr.cpp:500–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

498}
499
500inline double MBTR::k2GeomInverseDistance(const int &i, const int &j, const vector<vector<double> > &distances)
501{
502 double dist = k2GeomDistance(i, j, distances);
503 double invDist = 1/dist;
504 return invDist;
505}
506
507inline double MBTR::k2GeomDistance(const int &i, const int &j, const vector<vector<double> > &distances)
508{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected