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

template<class ArrayT>
ArrayT* Impala::Core::Matrix::MatReplicateMatrixOneRow ( ArrayT *  m,
int  columnCount 
) [inline]

Definition at line 15 of file MatReplicateMatrix.h.

References MatE(), and MatMul().

Referenced by MatReplicateMatrix().

00016 {
00017     ArrayT* ones = MatCreate<ArrayT>(1, columnCount);
00018     for(int a = 0; a < columnCount; a++)
00019     {
00020         *MatE(ones, 0, a) = 1.0;
00021     }
00022     ArrayT* res = MatMul(m, ones);
00023     delete ones;
00024     return res;
00025 }

Here is the call graph for this function:


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