Lines Matching defs:Rows
392 template <typename T, int Rows, int Cols>
393 tcu::Matrix<T, Rows, Cols> matrixCompMult (const tcu::Matrix<T, Rows, Cols>& a, const tcu::Matrix<T, Rows, Cols>& b)
395 tcu::Matrix<T, Rows, Cols> retVal;
397 for (int r = 0; r < Rows; ++r)
406 template <typename T, int Rows, int Cols>
407 tcu::Matrix<T, Rows, Cols> negate (const tcu::Matrix<T, Rows, Cols>& mat)
409 tcu::Matrix<T, Rows, Cols> retVal;
411 for (int r = 0; r < Rows; ++r)
420 template <typename T, int Rows, int Cols>
421 tcu::Matrix<T, Rows, Cols> increment (const tcu::Matrix<T, Rows, Cols>& mat)
423 tcu::Matrix<T, Rows, Cols> retVal;
425 for (int r = 0; r < Rows; ++r)
432 template <typename T, int Rows, int Cols>
433 tcu::Matrix<T, Rows, Cols> decrement (const tcu::Matrix<T, Rows, Cols>& mat)
435 tcu::Matrix<T, Rows, Cols> retVal;
437 for (int r = 0; r < Rows; ++r)
714 template <int Cols, int Rows>
715 void writeMatrixConstructor (std::ostream& str, const tcu::Matrix<float, Rows, Cols>& m)
717 if (Rows == Cols)
720 str << "mat" << Cols << "x" << Rows;
725 for (int rowNdx = 0; rowNdx < Rows; rowNdx++)