Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

int Impala::Core::Matrix::DistributedAccess::GetRow ( int  index,
double *  buffer,
int  bufferlength 
) [inline, virtual]

Implements Impala::IDistributedAccess.

Definition at line 472 of file DistributedAccess.h.

References Impala::Util::PropertySet::Add(), GetColumnPartCount(), GetData(), GetPartNr(), Impala::Core::Matrix::DistributedAccess::IndexConverter::IndexToPart(), and mRows.

Referenced by Dump(), GetColumn(), Impala::Core::Training::KernelMatrix::GetRow(), and GetRowImpl().

00473     {
00474         Util::PropertySet cmd;
00475         cmd.Add("cmd", "row");
00476         cmd.Add("arg", index);
00477         int rowPart = mRows->IndexToPart(index);
00478         std::vector<int> parts;
00479         for (int i=0 ; i<GetColumnPartCount() ; i++)
00480            parts.push_back(GetPartNr(rowPart, i));
00481         int msglength = GetData(buffer, bufferlength, cmd, parts);
00482         return msglength;
00483     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:20:19 2011 for ImpalaSrc by  doxygen 1.5.1