Lines Matching refs:Cols
624 template <typename T, int Rows, int Cols>
625 tcu::Matrix<T, Rows, Cols> matrixCompMult (const tcu::Matrix<T, Rows, Cols>& a, const tcu::Matrix<T, Rows, Cols>& b)
627 tcu::Matrix<T, Rows, Cols> retVal;
630 for (int c = 0; c < Cols; ++c)
638 template <typename T, int Rows, int Cols>
639 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>& b)
641 tcu::Matrix<T, Rows, Cols> retVal;
644 for (int c = 0; c < Cols; ++c)
831 template <typename T, int Rows, int Cols>
832 tcu::Matrix<T, Rows, Cols> negate (const tcu::Matrix<T, Rows, Cols>& mat)
834 tcu::Matrix<T, Rows, Cols> retVal;
837 for (int c = 0; c < Cols; ++c)
845 template <typename T, int Rows, int Cols>
846 tcu::Matrix<T, Rows, Cols> increment (const tcu::Matrix<T, Rows, Cols>& mat)
848 tcu::Matrix<T, Rows, Cols> retVal;
851 for (int c = 0; c < Cols; ++c)
857 template <typename T, int Rows, int Cols>
858 tcu::Matrix<T, Rows, Cols> decrement (const tcu::Matrix<T, Rows, Cols>& mat)
860 tcu::Matrix<T, Rows, Cols> retVal;
863 for (int c = 0; c < Cols; ++c)
1320 template <int Cols, int Rows>
1321 void writeMatrixConstructor (std::ostream& str, const tcu::Matrix<float, Rows, Cols>& m)
1323 if (Rows == Cols)
1324 str << "mat" << Cols;
1326 str << "mat" << Cols << "x" << Rows;
1329 for (int colNdx = 0; colNdx < Cols; colNdx++)