template<class ArrayT>
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:
|