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… in matrixCompMult()
395 tcu::Matrix<T, Rows, Cols> retVal; in matrixCompMult()
398 for (int c = 0; c < Cols; ++c) in matrixCompMult()
406 template <typename T, int Rows, int Cols>
407 tcu::Matrix<T, Rows, Cols> negate (const tcu::Matrix<T, Rows, Cols>& mat) in negate()
409 tcu::Matrix<T, Rows, Cols> retVal; in negate()
412 for (int c = 0; c < Cols; ++c) in negate()
420 template <typename T, int Rows, int Cols>
421 tcu::Matrix<T, Rows, Cols> increment (const tcu::Matrix<T, Rows, Cols>& mat) in increment()
423 tcu::Matrix<T, Rows, Cols> retVal; in increment()
426 for (int c = 0; c < Cols; ++c) in increment()
432 template <typename T, int Rows, int Cols>
433 tcu::Matrix<T, Rows, Cols> decrement (const tcu::Matrix<T, Rows, Cols>& mat) in decrement()
435 tcu::Matrix<T, Rows, Cols> retVal; in decrement()
438 for (int c = 0; c < Cols; ++c) in decrement()
714 template <int Cols, int Rows>
715 void writeMatrixConstructor (std::ostream& str, const tcu::Matrix<float, Rows, Cols>& m) in writeMatrixConstructor()
717 if (Rows == Cols) in writeMatrixConstructor()
718 str << "mat" << Cols; in writeMatrixConstructor()
720 str << "mat" << Cols << "x" << Rows; in writeMatrixConstructor()
723 for (int colNdx = 0; colNdx < Cols; colNdx++) in writeMatrixConstructor()