Implements Impala::IDistributedAccess. Definition at line 455 of file DistributedAccess.h. References Impala::Util::PropertySet::Add(), GetData(), GetPartNr(), GetRow(), GetRowPartCount(), Impala::Core::Matrix::DistributedAccess::IndexConverter::IndexToPart(), mColumns, and Symmetric(). Referenced by Impala::Core::Training::Svm::PredictForActiveLearn(). 00456 { 00457 if (Symmetric()) 00458 return GetRow(index, buffer, bufferlength); 00459 00460 Util::PropertySet cmd; 00461 cmd.Add("cmd", "column"); 00462 cmd.Add("arg", index); 00463 int columnPart = mColumns->IndexToPart(index); 00464 std::vector<int> parts; 00465 for (int i=0 ; i<GetRowPartCount() ; i++) 00466 parts.push_back(GetPartNr(i, columnPart)); 00467 int msglength = GetData(buffer, bufferlength, cmd, parts); 00468 return msglength; 00469 }
Here is the call graph for this function:
|