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

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

Implements Impala::IDistributedAccess.

Definition at line 191 of file DistributedAccess.h.

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

00192     {
00193         Util::PropertySet cmd;
00194         cmd.Add("cmd","diagonal");
00195         std::vector<int> parts;
00196         for(int i=0 ; i<mRows->PartCount() ; ++i)
00197            parts.push_back(GetPartNr(i, i));
00198         int msglength = GetData(buffer, bufferlength, cmd, parts);
00199         ILOG_DEBUG_NODE("GetDiagonal done, received " << msglength << " elements");
00200         return msglength;
00201     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:16:25 2010 for ImpalaSrc by  doxygen 1.5.1