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

Method k2WeightSquare

dscribe/ext/mbtr.cpp:525–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

523}
524
525inline double MBTR::k2WeightSquare(const int &i, const int &j, const vector<vector<double> > &distances)
526{
527 double dist = distances[i][j];
528 double value = 1/(dist*dist);
529 return value;
530}
531
532inline double MBTR::k3GeomCosine(const int &i, const int &j, const int &k, const vector<vector<double> > &distances)
533{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected