Lines Matching refs:Cols
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;
398 for (int c = 0; c < Cols; ++c)
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;
412 for (int c = 0; c < Cols; ++c)
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;
426 for (int c = 0; c < Cols; ++c)
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;
438 for (int c = 0; c < Cols; ++c)
714 template <int Cols, int Rows>
715 void writeMatrixConstructor (std::ostream& str, const tcu::Matrix<float, Rows, Cols>& m)
717 if (Rows == Cols)
718 str << "mat" << Cols;
720 str << "mat" << Cols << "x" << Rows;
723 for (int colNdx = 0; colNdx < Cols; colNdx++)