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

int Impala::Core::Matrix::VirtualMatrix::GetDiagonal ( Real64 buffer,
int  bufferSize 
) [inline]

Reimplemented in Impala::Core::Matrix::DistributedAccess.

Definition at line 176 of file VirtualMatrix.h.

References GetDiagonalImpl(), ILOG_ERROR, NrCol(), and NrRow().

00177     {
00178         if (NrRow() != NrCol())
00179         {
00180             ILOG_ERROR("[GetDiagonal] Only works for square matrices!");
00181             return 0;
00182         }
00183         if (bufferSize < NrCol())
00184         {
00185             ILOG_ERROR("[GetDiagonal] Buffer too small");
00186             return 0;
00187         }
00188         return GetDiagonalImpl(buffer, bufferSize);
00189     }

Here is the call graph for this function:


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