MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / get_Q

Method get_Q

ml/src/svm.cpp:1513–1525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1511 }
1512
1513 Qfloat*
1514 get_Q(int i, int len) const override
1515 {
1516 Qfloat* data;
1517 int start;
1518
1519 if ((start = cache->get_data(i, &data, len)) < len) {
1520 for (int j = start; j < len; j++)
1521 data[j] = static_cast<Qfloat>((this->*kernel_function)(i, j));
1522 }
1523
1524 return data;
1525 }
1526
1527 double*
1528 get_QD() const override

Callers

nothing calls this directly

Calls 1

get_dataMethod · 0.80

Tested by

no test coverage detected