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

Method get_Q

ml/src/svm.cpp:1458–1470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1456 }
1457
1458 Qfloat*
1459 get_Q(int i, int len) const override
1460 {
1461 Qfloat* data;
1462 int start;
1463
1464 if ((start = cache->get_data(i, &data, len)) < len) {
1465 for (int j = start; j < len; j++)
1466 data[j] = static_cast<Qfloat>(y[i] * y[j] * (this->*kernel_function)(i, j));
1467 }
1468
1469 return data;
1470 }
1471
1472 double*
1473 get_QD() const override

Callers 3

reconstruct_gradientMethod · 0.45
SolveMethod · 0.45
select_working_setMethod · 0.45

Calls 1

get_dataMethod · 0.80

Tested by

no test coverage detected